- or download this
use vars qw/$template/;
...
$template->param(home => $ENV{HOME});
$template->param(path => $ENV{PATH});
}
- or download this
our $template;
...
$template->param(home => $ENV{HOME});
$template->param(path => $ENV{PATH});
}
- or download this
package Page;
use HTML::Template;
...
return $selft->template->output;
}
1;
- or download this
use Page;
...
$p->template->param(path => $ENV{path});
$p->output;