RE: warn (was: yoda 2)
[email protected] (Peter Scott) Fri, 18 Aug 2000 10:28:30 -0700
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Message-ID | <[email protected]> |
At 10:33 AM 8/18/00 -0500, Brust, Corwin wrote: >Hmm this gets me thinking: >In the context of a catch block, if could @_ contain the exception stack, >starting with the current exception, could C<warn> be modified to act of @_ >if called in void context with no arguments? I like the idea of passing the exception stack in @_. If we use the RFC 63/Error.pm idea of passing the current exception in $_[0], then this falls out naturally, and no need to follow a linked list. Gets my vote. -- Peter Scott Pacific Systems Design Technologies