Thanks, Bart. So Tony, it looks like RFC 88, because of its tight coupling
of exception and failure handling, needs to address the issue of "do FILE"
that Bart mentions can set $@. This is an issue that results solely from the
coupling of exception and failure handling, not from the syntax and semantics
of exception handling, so RFC 119 is unaffected.
Bart Lateur wrote:
> On Tue, 13 Feb 2001 11:35:16 -0800, Glenn Linderman wrote:
>
> >In the perl 5 pocket reference 3rd edition page 63, it claims that $@ is
> >set to the result of an eval or do. How does this impact exception
> >handling tests on $@ to determine if an exception was thrown, if $@ can
> >be set by a do ? OR is that an error in the pocket guide?
>
> No, it's a misunderstanding between you and Tony. The "do" your
> reference is talking about, is of the form
>
> do FILE
>
> where file is a string containing a filename, while Tony is talking
> about the
>
> do BLOCK
>
> form. do FILE behaves just like eval() (except it reads its data from a
> source file), while do BLOCK doesn't. Neither.
>
> --
> Bart.
--
Glenn
=====
Even if you're on the right track,
you'll get run over if you just sit there.
-- Will Rogers
----- Stuff below this added by NetZero -----
Shop online without a credit card
http://www.rocketcash.com
RocketCash, a NetZero subsidiary