Think about Loose Coupling | |
PerlMonks |
Catching warningsby Marcello (Hermit) |
on Dec 13, 2005 at 18:37 UTC ( [id://516377]=perlquestion: print w/replies, xml ) | Need Help?? |
Marcello has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
In all my modules I use $SIG{__WARN__} to log warnings in a logfile. This ensures warnings are never overlooked. However, it seems some warnings cannot be caught: The output is: So the fatal error triggered when calling a non-existing method is not caught. How can I accomplish this? Best regards, Marcel
Back to
Seekers of Perl Wisdom
|
|