Just another Perl shrine | |
PerlMonks |
Can I catch exceptionsby richmusk (Novice) |
on Jun 26, 2001 at 13:08 UTC ( [id://91534]=perlquestion: print w/replies, xml ) | Need Help?? |
richmusk has asked for the wisdom of the Perl Monks concerning the following question:
I have a line of code in my program the compares two values. One of these values can be a string or an integer.
I want to compare the integers and generate some sort of error message if a string is found, but a the moment I get the following error message
Is there any way I can catch that error and generate my own message ???
Back to
Seekers of Perl Wisdom
|
|