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

    Text::MicroTemplate 0.18

    Download button

    No screenshots available
    Downloads: 176  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Kazuho Oku | More programs
    Perl Artistic License / FREE
    June 4th, 2010, 01:07 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Text::MicroTemplate description

    A standalone, fast, intelligent, extensible template engine

    Text::MicroTemplate is a standalone, fast, intelligent, extensible template engine with following features.

    SYNOPSIS

     use Text::MicroTemplate qw(:all);

     # compile template, and render
     $renderer = build_mt('hello, < ?= $_[0] ? >');
     $html = $renderer->('John')- >as_string;

     # or in one line
     $html = render_mt('hello, < ?= $_[0] ? >', 'John')- >as_string;

     # complex form
     $mt = Text::MicroTemplate- >new(
     template = > 'hello, < ?= $query- >param('user') ? >',
     );
     $code = $mt- >code;
     $renderer = eval ();
     }
     ...
     $html = $renderer- >(CGI- >new)- >as_string;



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    template engine | Perl module | Perl | 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