Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Log4perl swallowing $@

by ELISHEVA (Prior)
on Oct 29, 2010 at 02:34 UTC ( [id://868207]=note: print w/replies, xml ) Need Help??


in reply to Log4perl swallowing $@

-- I'm so used to seeing if($@) { # handle error } --

Unless this is throwaway code, in the meantime until that bug is fixed, it wouldn't hurt to add a comment to your code to explain why you needed to do $e=$@, just so that someone further down the pike doesn't think that your own assignment code is redundant or unnecessarily confusing and try to "clean" it up.

If you are so used to seeing if ($@)..., the same is likely true for others.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-19 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found