File: profile_small.pl

package info (click to toggle)
libhtml-template-perl 2.97-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 740 kB
  • sloc: perl: 2,572; makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 269 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env perl
use strict;
use warnings;
use lib '../lib';
use HTML::Template;

my $tmpl = HTML::Template->new(filename => 'templates/default.tmpl');
$tmpl->param(
    a     => 'foo',
    cl    => 'bar',
    start => 'baz',
    sh    => 'blah',
);
$tmpl->output;