SPUG: Automagic non-matching in -B files
Tim Maher
tim at consultix-inc.com
Wed Aug 13 19:52:23 CDT 2003
I've just discovered that
perl -wlne 'print "Processing $. in $ARGV\n"; /./ and print' $HOME
indicates that Perl automagically disallows any processing of records
from the (binary) file, without warning or die'ing (instead of trashing
the screen with spurious binary match-data, like commercial *grep*).
Does anybody know where this is documented? I can't find it under
perldoc -tf open, which seems like the right place to look.
-Tim
*------------------------------------------------------------*
| Tim Maher (206) 781-UNIX (866) DOC-PERL (866) DOC-UNIX |
| tim(AT)Consultix-Inc.Com TeachMeUnix.Com TeachMePerl.Com |
*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*
| Watch for my Book: "Minimal Perl for Shell Programmers" |
*------------------------------------------------------------*
More information about the spug-list
mailing list