Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Unexpected result after localizing eval_error variable "$@" within "BEGIN" block

by Errto (Vicar)
on Dec 26, 2007 at 17:14 UTC ( #659077=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Unexpected result after localizing eval_error variable "$@" within "BEGIN" block
in thread Unexpected result after localizing eval_error variable "$@" within "BEGIN" block

The point is that even if you uncomment that line, or replace it with some other error-causing statement, you get no error on the versions of Perl I tested, whereas there should be an error as far as I can tell.

Update: Sorry I'm being unclear. What I meant above was the local $@ line; that is what's causing the strange behavior.


Comment on Re^4: Unexpected result after localizing eval_error variable "$@" within "BEGIN" block
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://659077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-10-25 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls