Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Re: (jeffa) Re: Closures as Itteratorsby blakem (Monsignor) |
on Jul 02, 2001 at 22:48 UTC ( [id://93276]=note: print w/replies, xml ) | Need Help?? |
I know what while(chomp($row = <$fh>)) is
doing. In this case, though, I'm reading from a very specific data file (which does end with a newline) and the very
nature of the routine prevents it from using the last line
of the data file 99.9% of the time anyway. (is is primarily
used to grab a few lines from the middle of the file) Thanks for the $_ tip, though, I like it. -Blake
In Section
Seekers of Perl Wisdom
|
|