laziness, impatience, and hubris | |
PerlMonks |
Re: eval failure does not set $@by hippo (Bishop) |
on Jun 06, 2018 at 15:01 UTC ( [id://1216035]=note: print w/replies, xml ) | Need Help?? |
Following the eval we are check $@ to verify the eval was successful. See full, enlightening discussion at The 'eval "require $module; 1"' idiom
In Section
Seekers of Perl Wisdom
|
|