in reply to Imposing no warnings xxx upon callback code?
# remove unwanted warnings $SIG{__WARN__} = sub { my $wn = shift; return if $wn =~ /Use of uninitialized value/i; #Most annoying return if $wn =~ /name "(?:.+?)" used only once/i; #Very annoying warn $wn; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Imposing no warnings xxx upon callback code?
by ikegami (Patriarch) on Dec 22, 2006 at 19:32 UTC | |
by SFLEX (Chaplain) on Dec 22, 2006 at 19:45 UTC |