RE: [htmltmpl] newbie so this may be a faq
Brought to you by:
samtregar
From: Ben A. <Ben...@na...> - 2003-11-03 20:36:20
|
>=20 > I get this error: >=20 > HTML::Template : Attempt to set nonexistent parameter 'path'=20 > - this parameter name doesn't match any declarations in the=20 > template file : (die_on_bad_params =3D> 1) at templ.pl line 6 >=20 > please help... It's die'ing because die_on_bad_params is set, and you're passing a param which doesn't have a corresponding tag in the template. You can switch this behaviour off: my $template =3D HTML::Template->new(filename =3D> = 'your_template.tmpl', die_on_bad_params =3D> 0); Kind regards, Ben |