|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Re: Re: rant on = qw(HTML::Mason Embperl Template etc) ;by maverick (Curate) |
| on Nov 10, 2001 at 06:05 UTC ( #124526=note: print w/ replies, xml ) | Need Help?? |
|
There is an option to allow exactly what you're looking for. In fact it's one I ALWAYS have set. From the docs: die_on_bad_params - if set to 0 the module will let you call $template->param(param_name => 'value') even if 'param_name' doesn't exist in the template body. Defaults to 1. Change your constructor to And you'll be good to go.
/\/\averick
In Section
Meditations
|
|
||||||||||||||||||||||