DynaPage::Template - Dynamic Page document content
#------------------------------------------------------ # (C) Daniel Peder & Infoset s.r.o., all rights reserved # http://www.infoset.com, Daniel.Peder@infoset.com #------------------------------------------------------
$Revision: 1.3 $ $Date: 2005/01/13 21:31:07 $
Set/Get the Sourcer object. Used to retrieve (Get) feedable values. Sourcer must provide Get($name) method.
Set/Get the template's source.
Set/Get the template's result string.
Internaly used to set it, however, externaly should be used to GET it ONLY.
Feed the whole template. Unless $keep_unfilled_tags is specified, unfilled tags are cleared after last iteration. Current limit is 10 iterations.
Specifying $Sourcer forces another data source. See DynaPage::Sourcer .
Find and replace value tags. There are two tag types. substituting raw values [~TagName~] or [X]HTML parameter safe values [!TagName!].
Parameter safe values means substituted entities: " < > and '
Clear unfilled tags, resp. fill it with $clear_value , which is by default set to '';
Return TRUE if some tags were cleared. Otherwise return FALSE.
Get value of tag $name. The value will be escaped to be $parameterSafe.
To install DynaPage::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DynaPage::Template
CPAN shell
perl -MCPAN -e shell install DynaPage::Template
For more information on module installation, please visit the detailed CPAN module installation guide.