Thread HTML::Template: 500er bei nicht vorhandenem Platzahlter (3 answers)
Opened by Alex at 2003-12-13 23:30

jan
 2003-12-14 00:00
#485 #485
User since
2003-08-04
2536 Artikel
ModeratorIn
[Homepage] [default_avatar]
http://search.cpan.org/~samtregar/HTML-Template-2.6/Template.pm

Quote
Error Detection Options
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.


Code: (dl )
  my $t = HTML::Template->new(type => 'filename', source => 'file.tmpl', die_on_bad_params => 0);

View full thread HTML::Template: 500er bei nicht vorhandenem Platzahlter