Re: Bug in die_on_bad_params handling
Matija Grabnar <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
Jason Purdy wrote: > IMVHO, this isn't a bug, but rather the intended behavior. If you > really want to be strict about it, set up two different loops. > Otherwise, don't worry about die_on_bad_params. > > - Jason Setting up the loops would be expensive, since it involves a LOT of data - it would be stupid to waste all that memory just because one of the loops uses one less variable then the other. And die_on_bad_params is usualy a very usefull debugging tool, which is why I need it. At least, if it dies in the loop, HTML::Template should tell you WHICH loop it died in (in which line the loop began). Matija ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click