Jonathan Scott Duff wrote:
> 
> On Tue, Aug 15, 2000 at 05:14:56PM -0700, Peter Scott wrote:
> >
> > I want: exceptions to contain 'file' and 'line' attributes which
> > are arrays that get a location pushed on every time an exception
> > bubbles up through a scoping level.
> 
> Why not have a special array that acts as an exception stack and each
> exception knows what file/line/whatever?  Then you can get both behaviors
> with a simple for loop:
> 
>         for (@PERL::EXCEPTIONS) {
>             print $_->file, "\t", $_->line, "\n";
>         }

Yawn.  That's the way RFC 88 v1 does it.  Check it out.

We are trying to fix that problem.  Nature abhors globals.

Yours, &c, Tony Olekshy

Reply via email to