Lines Matching refs:tmpl
67 open my $tmpl, '<', $TEMPFILE or die "failed to open $TEMPFILE: $!";
69 $template = Text::Template->new(type => 'FILEHANDLE', source => $tmpl);
80 close $tmpl;
103 $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => 'B{"\\}"}C{"\\{"}D');
106 $text = $tmpl->fill_in();
111 $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => qq{A{"\t"}B});
116 $text = $tmpl->fill_in();
141 my $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => $test);
142 my $text = $tmpl->fill_in;
151 $tmpl = undef;
152 ok(open $tmpl, '<', $TEMPFILE) or diag "Couldn't open $TEMPFILE: $!";
153 $template = Text::Template->new(type => 'FILEHANDLE', source => $tmpl);
164 close $tmpl;