On Wed, Aug 16, 2000 at 11:46:12AM -0700, Peter Scott wrote:
> At 12:10 AM 8/16/00 -0500, Jonathan Scott Duff wrote:
> >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";
> >         }
> 
> Because there isn't a stack of exceptions; I'm talking about tracking the 
> movement of a single exception.
> 
> This feature gets repeatedly confused with the RFC 88 exception stacking 
> feature.

If true, then perhaps this feature needs more explanation  :-)

I can almost see what you're talking about but not quite.  It sounds
like you want caller() info available to the exception handler ... but
isn't it?

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to