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.
- End-of-scope actions: Visibility. Tony Olekshy
- End-of-scope actions: POST blocks. Tony Olekshy
- Re: End-of-scope actions: POST blocks. James Mastros
- Re: End-of-scope actions: POST blocks. Tony Olekshy
- Re: End-of-scope actions: POST blocks. Tony Olekshy
- End-of-scope actions: Reference model 2.0.2.1. Tony Olekshy
- End-of-scope actions: Error messages. Tony Olekshy
- End-of-scope actions: do/eval duality. Tony Olekshy
- Re: End-of-scope actions: do/eval duality. Glenn Linderman
- Re: End-of-scope actions: do/eval duality. Tony Olekshy
- Re: End-of-scope actions: do/eval duality. Bart Lateur
- Re: End-of-scope actions: do/eval duality. Branden
- Re: End-of-scope actions: do/eval duality... abigail
- Re: End-of-scope actions: do/eval du... Branden
- Re: End-of-scope actions: do/eva... abigail
- Re: End-of-scope actions: do/eva... Simon Cozens
- Re: End-of-scope actions: do/eval duality... Bart Lateur
- Re: End-of-scope actions: do/eval duality. Glenn Linderman
- End-of-scope actions: Garbage collection. Tony Olekshy
- Re: End-of-scope actions: Garbage collection. Dan Sugalski
- Re: End-of-scope actions: Garbage collection. Tony Olekshy