File: htp_version.t

package info (click to toggle)
libhtml-template-pro-perl 0.9524-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,512 kB
  • sloc: ansic: 1,841; perl: 1,474; yacc: 404; pascal: 118; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w
use Test::More no_plan;
use HTML::Template::Pro;

my $src1 =<<"END;";
<tmpl_var EXPR="version()">
END;

my $template1   = HTML::Template::Pro->new(scalarref => \$src1, debug=> 0);
my $out=$template1->output();
print $out;
ok(length($out)>0); 

__END__