Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    HTML::Chunks 1.55.1

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Mark W Blythe and Dave Balmer Jr | More programs
    Perl Artistic License / FREE
    September 8th, 2006, 07:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTML::Chunks description

    A simple nested template engine for HTML, XML and XHTML

    HTML::Chunks is a simple nested template engine for HTML, XML and XHTML.

    This class implements a simple text-based template engine, originally intented to allow web applications to completely separate layout HTML from programming logic. However, the engine is flexible enough to be applied to other text-based situations where templates are helpful, such as generating email messages, XML data files, etc.

    SYNOPSIS

    my $engine = new HTML::Chunks(@chunkFiles);

    $engine->readChunkFile('morechunks.html');
    $engine->addChunk($smallChunk, $hugeChunk);
    $engine->addNamedChunk('myChunk', $chunk);

    $engine->output('myChunk', {
    firstName => 'Homer',
    lastName => 'Simpson',
    meals => &outputMeals
    }, @extraData);

    my @names = $engine->getChunkNames();
    my $chunk = $engine->getChunk('myChunk');
    my $oldValue = $engine->setCrush(0);


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    template engine | HTML template | Perl module | module | template | engine



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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