Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by n1vux (1492) on 2004.06.21 13:14 (#31732) Homepage Journal
    No discussion of $. would be complete without a mention of multiple commandline ARGV filenames -- $. does not reset between files, unless
    close ARGV  if eof;
    or equivalently,
    close ARGV  if eof(ARGV);
    is included in the
    while(<>)
    loop.

    eof(3) [perldoc.com]

    Otherwise excellent review!

    --
    Bill
    # I had a sig when sigs were cool
    use Sig;