laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: Catching perl warnings and errorsby CukiMnstr (Deacon) |
on May 26, 2003 at 14:29 UTC ( [id://260839]=note: print w/replies, xml ) | Need Help?? |
oh. I understood something else from your first post...
There are many ways to catch exceptions. You could use eval(), but using eval() will not work for warnings from the compiler, from the POD: Or you can use Error as nite_man suggests, but I just made a couple of tests and read the docs and compiler warnings don't seem to be handled by it. hope this helps,
In Section
Seekers of Perl Wisdom
|
|