in reply to Re^3: How to reset a variable for each file inside a while( <> ) loop?
in thread How to reset a variable for each file inside a while( <> ) loop?
while ( <> ) { print "Reading line $. in file $ARGV.\n"; $. = 0 if eof; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: How to reset a variable for each file inside a while( <> ) loop?
by pjotrik (Friar) on Jun 16, 2008 at 10:20 UTC |