> open STDERR, "| perl -e 'while (<>) { print unless /^NOTICE: / }'"
> or die "Cannot pipe STDERR: $!\n";
perl --help
. . .
-n assume 'while (<>) { ... }' loop around program
-p assume loop like -n but print line also, like sed
. . .
Thus,
perl -ne 'print unless /^NOTICE: /'
--
Tim Ellis
Senior Database Architect
Gamet, Inc.