Package: perl-doc Version: 5.8.7-10 Severity: wishlist File: /usr/share/man/man1/perlfunc.1.gz
$. is reset when the filehandle is closed, but not when an open filehandle is reopened without an intervening close(). For more details, see "I/O Operators" in perlop. Because "<>" never does an explicit close, line numbers increase across ARGV files (but see examples in "eof" in perlfunc). You can also use "HANDLE->input_line_number(EXPR)" to access the line counter for a given filehandle without having to worry about which handle you last accessed. Add an example of how to do that, say to here: $ perl -nwe 'print "$ARGV:$.: $_" if /bla/' * -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

