Any-Template
view release on metacpan or search on metacpan
lib/Any/Template/Backend/Text/Template.pm view on Meta::CPAN
}
sub process_to_string {
my ($self, $data, $ref_buffer) = @_;
$$ref_buffer = $self->{engine}->fill_in(HASH => $data);
return 1;
}
sub process_to_filehandle {
my ($self, $data, $fh) = @_;
$self->{engine}->fill_in(HASH => $data, OUTPUT => $fh);
return 1;
}
#
# This marshalls the Any::Template ctor options into the form required for Text::Template
#
sub _marshall_options {
my $at_options = shift;
my %tt_options = %{$at_options->{Options}};
if(exists $at_options->{String}) {
( run in 0.436 second using v1.01-cache-2.11-cpan-4e96b696675 )