Re: die_on_missing_params
Robert Hicks <[email protected]> Fri, 01 Jun 2007 07:44:35 -0400
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
Joshua wrote: > Greetings. > > (I'm sorry if I double posted this. However, the first time I sent it, I was > not subscribed to the mailing list, so I don't think it went through.) > > I find the "die_on_bad_params => 1" to be a very useful feature. Setting it > to 0 is kind of like debugging Perl without "use strict;". > > However, die_on_bad_params only does half the job. It dies if I try to set > non-existent vars, but it does nothing if I forget to set an existing var. > Is there a way (such as a die_on_missing_params option) that I can turn on > some such warning system? (Perhaps there are some extensions to > HTML::Template that do this?) > > Any help is appreciated. > Maybe something as simple as a patch to allow: die_on_unset_vars => 1 Robert ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/