Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 meditating upon the Monastery: (4)
As of 2015-07-05 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls