Text::QuickTemplateText::QuickTemplate is a simple, lightweight text fill-in class. | |
Download |
Text::QuickTemplate Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Eric J. Roode
- Publisher web site:
- http://search.cpan.org/~roode/
Text::QuickTemplate Tags
Text::QuickTemplate Description
Text::QuickTemplate is a simple, lightweight text fill-in class. Text::QuickTemplate is a simple, lightweight text fill-in class.SYNOPSIS # Create and fill a template: $template = Text::QuickTemplate->new($string, %options); # Set default values: $template->default(%values); # Set some override values: $template->pre_fill(%values); # Fill it in, rendering the result string: $result = $template->fill(%values); # printf-like usage QTprintf ($format, %values); # sprintf-like usage $result = QTsprintf ($filehandle, $format, %values); # fprintf-like usage (print to a filehandle) QTfprintf ($filehandle, $format, %values);OPTIONS delimiters => ; # may be strings delimiters => ; # and/or regexps Requirements: · Perl
Text::QuickTemplate Related Software