Don't ask to ask, just ask | |
PerlMonks |
Re: Error Handling Misconceptionby bobn (Chaplain) |
on Sep 03, 2003 at 22:16 UTC ( [id://288750]=note: print w/replies, xml ) | Need Help?? |
if the eval fails, it your function probably also returned a false value, which caused your while loop to skip the if ( $@ ) code. --Bob Niederman, http://bob-n.com All code given here is UNTESTED unless otherwise stated.
In Section
Seekers of Perl Wisdom
|
|