Re: errors and their keywords and where catch can return toandst uff like that
[email protected] (Graham Barr) Tue, 15 Aug 2000 11:30:48 +0100
| Newsgroups | perl.perl6.language.flow |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 14, 2000 at 10:15:21PM -0700, Peter Scott wrote:
> At 08:56 PM 8/14/00 -0600, Tony Olekshy wrote:
> >consider this:
> >
> > try { may_throw_1; }
> > catch { may_throw_2; }
> > catch { may_throw_3; }
> > finally { may_throw_4; }
>
> That's either a syntax error or a no-op. More likely the latter. If you
> have multiple catch blocks which could catch the same exception, only the
> first one should execute.
Yes.
Graham.