Text::PrintfText::Printf is a simple, lightweight text fill-in class. | |
Download |
Text::Printf Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Eric J. Roode
- Publisher web site:
- http://search.cpan.org/~roode/
Text::Printf Tags
Text::Printf Description
Text::Printf is a simple, lightweight text fill-in class. Text::Printf is a simple, lightweight text fill-in class.SYNOPSISprintf-like usage: # Print (to default filehandle, or explicit filehandle). tprintf ($format, %values); tprintf ($filehandle, $format, %values) # Render to string. $result = tsprintf ($format, %values);Prepared-template usage: # Create a template: $template = Text::Printf->new($format, %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);OPTIONS delimiters => ; # may be strings delimiters => ; # and/or regexps Requirements: · Perl
Text::Printf Related Software