Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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??

in reply to Re: Re: rant on = qw(HTML::Mason Embperl Template etc) ;
in thread rant on = qw(HTML::Mason Embperl Template etc) ;

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

$tmpl = HTML::Template->new('filename' => $TEMPLATE, 'die_on_bad_params' => 0 );
And you'll be good to go.

perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"

Replies are listed 'Best First'.
Re: Re: Re: Re: rant on = qw(HTML::Mason Embperl Template etc) ;
by kwoff (Friar) on Nov 12, 2001 at 04:53 UTC
    Excellent, thanks.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://124526]
[holli]: mmh. maybe a user handle "dry arian" is a bit unfortunate? https://www. dryarian/
[Discipulus]: exists!
[shmem]: holli, agreed. "dry airan" would be slightly better :P
[holli]: virtualsue: How much was left?
[shmem]: Discipulus: oh. tatsächlich.
shmem missed his monkday yesterday :P - 12 years and way to go...
[1nickt]: Happy Monkday shmem. I was at my stepson's birthday party and thought of you.
[virtualsue]: holli about half
[choroba]: "Tatsächlich, das ist die Knochenstruktur eines Bettlers!" ??
shmem bows. Thank you

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2017-11-21 12:52 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (301 votes). Check out past polls.