laziness, impatience, and hubris | |
PerlMonks |
trapping -w warningsby Anonymous Monk |
on Nov 26, 2003 at 06:56 UTC ( [id://310154]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Dear perl monks: The following code (or something like it) will check the RE in $re for proper syntax. However, -w finds other useful trouble conditions, which it reports to STDERR. I would like to detect these warnings and act on them, and not display them. Can this be done?
Back to
Seekers of Perl Wisdom
|
|