in reply to Re: The -w switch on a web application
in thread The -w switch on a web application

and if you have older perl...

#!/usr/bin/perl -w $SIG{__WARN__} = sub { local $_ = shift; print STDERR unless /Use of uninitialized value/; }; my $f; print "no warning here -->$f<--",$/; warn "woot! other warnings here...";