Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 pondering the Monastery: (8)
As of 2014-12-22 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (114 votes), past polls