Re: [htmltmpl] Param( ) Method and Default= Attribute ... ?

2003-05-29 Thread Sam Tregar
On Wed, 28 May 2003, Cory Trese wrote: > >From my tests, it seems as if the call to "param( 'doc' );" does not return > the value of a TMPL_VAR's "default" attribute. That's the intended behavior. If it worked differently you wouldn't be able to tell the difference between a parameter already se

[htmltmpl] Param( ) Method and Default= Attribute ... ?

2003-05-29 Thread Cory Trese
Hello, In a template, I have this ... In a perl script, I have this ... #--- my $template = HTML::Template->new(filename => "$mode", die_on_bad_params => 0,#SYSTEM strict => 0, ); my $doc = $template->param(