Text::TemplateFill

Description

Text::TemplateFill is a Perl module for formatting of reports with templates from files, use for I18N. SYNOPSIS use Text::TemplateFill; my $tmpl = new Text::TemplateFill; $tmpl->SetOpt(BaseDir => "paras/$Country"); $tmpl->SetOpt(ErrorFunction => &LogMsg, LineTerminator => "rn"); # Must read all the files before printing a paragraph $tmpl->ReadPara(Header, "head"); $tmpl->ReadPara(FirstPage); $tmpl->ReadPara(Footer); $tmpl->ReadPara(Body); $tmpl->SetOpt(StartPageTag => Header); my ($a, $b, $cn, $d) = (a, letter b, ACME Inc, 4.92); $tmpl->BindVars(NameOfA => $a, B => $b, CustomerName => $cn, VarD => $d); print $tmpl->GeneratePara(FirstPage); # Optional - since we want a specific 1st page print $tmpl->GeneratePara(Body); ... $a = ...; $b = ... print $tmpl->GeneratePara(Body); print $tmpl->CompletePage;.

Templatefill - Generatepara - Readpara - Texttemplatefill - Setopt - Perl Module - Formatting - Files - Reports - Templates - Print - Libraries - Programming

Published By:Alain D D Williams

License Type:Freeware

Date Added:22 October, 2010

Version:1.7

Price:Free

Downloads:45

Size:21.5 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS # functional interface: use Data::Encrypted file => "./.

DateAug 12, 2010

AuthorAaron J Mackey

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.

DateOct 4, 2010

AuthorAaron Straup Cope

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

WWW::Webrobot::pod::Testplan is a Perl module that helps you on how to write a test plan for webrobot. A test plan is a list of elements. An element itself may be a request, a (sub) test plan, an include or a cookie control command.

DateAug 25, 2010

AuthorABAS Software AG

Size98.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Test::Stochastic is a Perl module to check probabilities of randomized methods. SYNOPSIS use Test::Stochastic qw(stochastic_ok); stochastic_ok sub { ...random sub...}, {a => 0.4, b => 0.6}; stochastic_ok {a => 0.4, b => 0.

DateAug 26, 2010

AuthorAbhijit Mahabal

Size4.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Games::SGF::Tournament is a Perl module for tournament statistics generator.

DateOct 6, 2010

AuthorAl Nikolov

Size12.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming