RE: Exception stack: let's use the @@ list.
[email protected] (Peter Scott) Tue, 22 Aug 2000 13:32:38 -0700
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Message-ID | <[email protected]> |
At 11:52 AM 8/21/00 -0500, Brust, Corwin wrote:
>I've come
>to like @_ as our input list and think that exception handling blocks would
>naturaly use this.
>
>Also it seems convienent, which seems perlish.
>
>Hmmm...
>
> for (@plays) {
> $qb->pass;
> warn && next if catch 'incomplete');
> goto start_possesion if catch 'interception';
> resolve_fumble if catch 'fumble';
> update_field_position
> }
>
>Where any exception that's not C<catch>ed is actualy a (runtime) error.
I find myself indifferent on the subject of where the exception stack is
stored (well, at least indifferent to the choices of @_ and @@), even given
the ramifications of each. I would like to see each mentioned as
alternatives; I don't mind which one is preferred.
--
Peter Scott
Pacific Systems Design Technologies