Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    PurpleWiki::InlineNode 0.94

    Download button

    No screenshots available
    Downloads: 324  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Chris Dent and Eugene Eric Kim | More programs
    Perl Artistic License / FREE
    July 25th, 2007, 10:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    PurpleWiki::InlineNode description

    PurpleWiki::InlineNode Perl module offers inline node object.

    PurpleWiki::InlineNode Perl module offers inline node object.

    SYNOPSIS

    use PurpleWiki::InlineNode;

    # Create node of type 'text' and content 'Hello, world!'
    my $inlineNode1 =
    PurpleWiki::InlineNode->new(type => 'text',
    content => 'Hello, world!');

    # Represent bolded and italicized 'Hello, world!'.
    # First, create node of type 'b'.
    my $boldNode = PurpleWiki::InlineNode->new(type => 'b');

    # Create node of type 'i'.
    my $italicsNode = PurpleWiki::InlineNode->new(type => 'i');

    # Create 'text' node with content 'Hello, world!'.
    my $textNode =
    PurpleWiki::InlineNode->new(type => 'text',
    content => 'Hello, world!');

    # Make 'text' node a child of 'i' node, and 'i' node a child
    # of 'b' node.
    $italicsNode->children([$textNode]);
    $boldNode->children([$italicsNode]);

    Inline nodes make up the content of structural nodes. They are mostly content containers, although some types use children to handle nested inline content, such as bold and italicized content.

    The data structure looks like:

    PurpleWiki::InlineNode = {
    type => text|nowiki|b|i|tt|wikiword|freelink|link|url|image
    href => string
    content => string
    children => [PurpleWiki::InlineNode, ...]
    }

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    node object | inline node | Perl module | PurpleWiki::InlineNo | inline | node

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM