Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: Log4perl swallowing $@by Anonymous Monk |
on Oct 29, 2010 at 06:49 UTC ( [id://868243]=note: print w/replies, xml ) | Need Help?? |
There is no bug, the expectations are wrong The variable $@ is never touched in Log4perl However log4perl does use eval Its just like $!, its only valid immediately after a system call, if you want to use it at few lines later, you have to cache it.
In Section
Seekers of Perl Wisdom
|
|