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]
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1. Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions R... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions R... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptio... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Chaim Frenkel
- Re: Toward an omnibus Perl 6 Exceptions R... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptio... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exc... Chaim Frenkel
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Peter Scott