There are no reviews yet. Be the first to send feedback to the community and the maintainers!
Text::Template This is a library for generating form letters, building HTML pages, or filling in templates generally. A `template' is a piece of text that has little Perl programs embedded in it here and there. When you `fill in' a template, you evaluate the little programs and replace them with their values. Here's an example of a template: Dear {$title} {$lastname}, It has come to our attention that you are delinquent in your {$monthname[$last_paid_month]} payment. Please remit ${sprintf("%.2f", $amount)} immediately, or your patellae may be needlessly endangered. Love, Mark "{nickname(rand 20)}" Dominus The result of filling in this template is a string, which might look something like this: Dear Mr. Gates, It has come to our attention that you are delinquent in your February payment. Please remit $392.12 immediately, or your patellae may be needlessly endangered. Love, Mark "Vizopteryx" Dominus You can store a template in a file outside your program. People can modify the template without modifying the program. You can separate the formatting details from the main code, and put the formatting parts of the program into the template. That prevents code bloat and encourages functional separation. You can fill in the template in a `Safe' compartment. This means that if you don't trust the person who wrote the code in the template, you won't have to worry that they are tampering with your program when you execute it. ---------------------------------------------------------------- Text::Template was originally released some time in late 1995 or early 1996. After three years of study and investigation, I rewrote it from scratch in January 1999. The new version, 1.0, was much faster, delivered better functionality and was almost 100% backward-compatible with the previous beta versions. I have added a number of useful features and conveniences since the 1.0 release, while still retaining backward compatibility. With one merely cosmetic change, the current version of Text::Template passes the test suite that the old beta versions passed.
number-phone-countrycode
Country specific dialing prefixes for phone numberstoggl-invoicer
A "Contractor Style" monthly invoice generator for Togglapache-singleton
singleton class for mod_perl / mod_perl2apache-authticket
mod_perl AuthCookie based authentication and access moduleapache-authcookie
mod_perl Authentication and Authorization via cookiesmilter-limit
Rate limiting milter for Sendmailtie-ixhash-fixedsize
A fixed size Tie::IxHash module for Perlng-daily-wallpaper
program that sets National Geographic's Photo of the Day as your Gnome backgrounddotfiles
my dotfilesperl-log-dispatch-filerotate
Log to files that archive/rotate themselvessys-signals-block
simple interface to block delivery of signals in perlpod-weaver-section-sourcegithub
Pod::Weaver plugin to add a SOURCE pod section for a github repositorytemplate-plugin-filter-minify-css
CSS::Minifier filter for Template Toolkitenv-c
Get/Set/Unset Environment Variables on the C levelperl-number-libphonenumber
Perl interface to Google's libphonenumber librarytemplate-plugin-filter-minify-javascript-xs
JavaScript::Minifier::XS filter for Template Toolkitspring-sliced-resources
Library to add support for SlicedModel and SlicedResourcesAssembler for Spring Applicationsapache2-filter-css-less
Filter CSS LESS files into CSS files under mod_perl on Apache 2.xperl-Date-Calc
perl module Date::Calcepp-rtk-java
Fork of http://sourceforge.net/projects/epp-rtk/template-plugin-filter-minify-javascript
JavaScript::Minify filter for Template Toolkittemplate-plugin-map
Map VMethod for Template Toolkitmilter-limit-plugin-berkeleydb
BerkeleyDB driver for App::Milter::LimitCache-Cache
Release history of Cache-Cachedist-zilla-plugin-docker
Dist::Zilla Plugin to Push Release Images to a Docker Repositorymilter-limit-plugin-sqlite
SQLite driver for App::Milter::Limitperl-data-validate-dns-caa
Validate DNS Certification Authority Authorization Valuestask-belike-mschout
Use CPAN the way MSCHOUT doesapp-postfix-srsd
Sender Rewriting Scheme Socketmap Daemon for Postfixtemplate-plugin-filter-string-truncate
String::Truncate filter for Template::Toolkitsrs-milter
template-plugin-filter-minify-css-xs
CSS::Minifier::XS filter for Template Toolkitdist-zilla-plugin-apachetest
Dist::Zilla plugin to build a Makefile.PL that uses ExtUtils::MakeMaker with Apache::Testdist-zilla-pluginbundle-mschout
use Dist::Zilla like MSCHOUT doespod-weaver-section-bugsrt
Add a BUGS Pod section for rt.cpan.orgapache-profiler
log time spent processing every apache requestLove Open Source and this site? Check out how you can help us