Ananke-Template
view release on metacpan or search on metacpan
Template.pm view on Meta::CPAN
undef $template_dir; undef $template_file; undef $vars;
undef $template; undef $to_file;
}
# Inicia modulo
sub new {
my($self,$templ_dir,$to_file) = @_;
# Grava dados
bless {
'TEMPL_DIR' => $templ_dir,
}, $self;
}
# Processa página
sub process {
my($self,$file,$vars,$to_file) = @_;
my($fdata,$output,$my,$return);
$self->{TEMPL_FILE} = $file;
( run in 1.241 second using v1.01-cache-2.11-cpan-b32c08c6d1a )