Menu

Attempt to set nonexistent parameter

2000-07-14
2000-08-15
  • Chad Phillips

    Chad Phillips - 2000-07-14

    Is there any way to get around this error?  There may be times when I need to use a template that doesn't need all of the variables made available by my perl program. 

    Can I turn off this checking or is it reguired that all variables be used in the template?
    thanks
    chad

     
    • Sam Tregar

      Sam Tregar - 2000-08-15

      my $template = HTML::Template->new(filename => 'foo.tmpl', die_on_bad_params => 0);

      Next!
      -sam

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.