Re: Bug in die_on_bad_params handling

Sam Tregar <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On Thu, 7 Jul 2005, Mark Fuller wrote:

> From: "Sam Tregar" <[email protected]>
> > That's a run-time error that happens during output() and the relevent file
> and
> > line numbers are currently only available during parse().
> 
> Sam, I'm curious: Why wouldn't my suggestion work?

I didn't mean to imply that it wouldn't.  I only meant to express my
delight that someone might do the work to add filenames and
line-numbers to die_on_bad_params errors.

> The croaked message Matija referred to is in the param method. I
> can't find it anywhere else.  How does it reach the output method if
> it is croaking on this line as the param is set?

The loop output code calls param() to setup each row.

-sam


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.