NAME

t/04-type-source.t

OBJECTIVE

Test the 'type-source' style of constructor HTML::Template::new().

$stemplate = HTML::Template->new(
    type   => 'scalarref',
    source => \$template_string,
);

$atemplate = HTML::Template->new(
    type   => 'arrayref',
    source => \@template_array,
);

$fhtemplate = HTML::Template->new(
    type   => 'filehandle',
    source => $fh,
);