Lines Matching refs:template
40 my $template = Text::Template->new('type' => 'FILE', 'source' => $TEMPFILE);
41 ok(defined $template) or diag $Text::Template::ERROR;
55 my $text = $template->fill_in('package' => 'X');
59 $text = $template->fill_in('package' => 'Y');
69 $template = Text::Template->new(type => 'FILEHANDLE', source => $tmpl);
70 ok defined $template or diag $Text::Template::ERROR;
73 $text = $template->fill_in('package' => 'X');
77 $text = $template->fill_in('package' => 'Y');
83 $template = Text::Template->new(
91 ok defined $template; # or diag $Text::Template::ERROR;
94 $text = $template->fill_in('package' => 'X');
98 $text = $template->fill_in('package' => 'Y');
153 $template = Text::Template->new(type => 'FILEHANDLE', source => $tmpl);
154 ok(defined $template) or diag $Text::Template::ERROR;
157 $text = $template->fill_in('package' => 'X');
161 $text = $template->fill_in('package' => 'Y');