Softpedia
 


LINUX CATEGORIES:



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

    HTML::CMTemplate 0.4.0

    Download button

    No screenshots available
    Downloads: 411  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 Monson | More programs
    Perl Artistic License / FREE
    July 14th, 2007, 09:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTML::CMTemplate description

    A Perl module that can generate text-based content from templates

    HTML::CMTemplate.pm is a Perl module that can generate text-based content from templates.

    SYNOPSIS
    use HTML::CMTemplate;

    $t = new HTML::CMTemplate( path => [ '/path1', '/longer/path2' ] );

    $t->import_template(
    filename => 'file.html.ctpl', # in the paths above
    packagename => 'theTemplate',
    importrefs => { myvar => 'hello' },
    importclean => { myclean => 'clean!' },
    );

    theTemplate::cleanup_namespace();

    print "Content-type: text/htmlnn";
    print theTemplate::output();

    # Template syntax is described below -- see that section to get the real
    # details on how to use this sucker.

    HTML::CMTemplate 0.4.0

    A class for generating text-based content from a simple template language. It was inspired by the (as far as I'm concerned, incomplete) HTML::Template module, and was designed to make template output extremely fast by converting a text/html template into a dynamic perl module and then running code from that module. Since the parsing happens only once and the template is converted into Perl code, the output of the template is very fast.

    It was designed to work with mod_perl and FastCGI and has been the basis for all of the dynamic content on the Orangatango site (http://www.orangatango.com).

    First release (version 0.1) was February 15, 2001 and was very quiet because it was a proprietary version.

    As of version 0.2, it is released under the Artistic License. It's a much more feature-rich version as well as being Open Source! For a copy of the Artistic License, see the files that came with your Perl distribution.

    The code was developed during my time at Orangatango. It has been released as open source with the blessing of the controlling entities there.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    generate text-based content | templates content | Perl module | templates | generate | text-based

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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