Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Template::Provider::MD5 0.0.1

    Download button

    No screenshots available
    Downloads: 480  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.2/5)
    5 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Scott Penrose | More programs
    Perl Artistic License / FREE
    July 30th, 2008, 13:51 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Template::Provider::MD5 description

    Template::Provider::MD5 is a Perl module with MD5 Cached Compiled SCALARS for Template Toolkit.

    Template::Provider::MD5 is a Perl module with MD5 Cached Compiled SCALARS for Template Toolkit.

    SYNOPSIS

    use Template::Provider::MD5;
    use Template;

    # NOTE: Config is shared between Providers and Templates there is no
    # clear separation.

    my $config = {
    INCLUDE_PATH => "Some/Include/Path",
    EVAL_PERL => 0,
    COMPILE_DIR => "/var/tmp/TTCache",
    COMPILE_EXT => '.ttc',
    };

    # MAke your provider first, otherwise Template will make one for you.
    my $p = Template::Provider::MD5->new($config);
    $config->{LOAD_TEMPLATES} = [$p];
    $config->{PREFIX_MAP} = {default => 0};
    my $tt = Template->new($config);

    ... use $tt as per standard Template Toolkit ...

    Extension for Template Toolkit to cache SCALAR Templates by using MD5. A Template::Provider is actually designed to provide an alternate method for getting data (eg: the example is a WEB Access Module). In this case it is actually a replacement to the default Template::Provider by providing caching for strings and then falling back to the original when required.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    MD5 Cached Compiled | Template Toolkit | Perl module | MD5 | template | toolkit

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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