in reply to Re: HTML::Template output to scalar or array
in thread HTML::Template output to scalar or array
But it results in a blank screen. what have I misunderstood??my $template = HTML::Template->new(filename => $prepage, die_on_bad_par +ams => 0); $template->param(Option_3 => $Option_3); $template->param(Option_4 => $Option_4); $template->param(Option_5 => $Option_5); $template->output(); print "$template"; exit;
Thanks
Update: Doh! got it!
Thanks all for your help...my $html = $template->output(); print "$html"; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: HTML::Template output to scalar or array
by dorko (Prior) on Oct 11, 2005 at 21:21 UTC | |
|
Re^3: HTML::Template output to scalar or array
by GrandFather (Saint) on Oct 11, 2005 at 21:19 UTC |