SPUG: "last" behaving oddly in -n loop
Andrew Sweger
andrew at sweger.net
Wed Aug 20 17:28:50 CDT 2003
It's behaving the way I would expect of "last". I thought the file
arguments were all run together in the <ARGV> of the while(). If you want
to detect the end of individual files (while using normal IO functions), I
thought you need to manually check eof().
On Wed, 20 Aug 2003, Tim Maher wrote:
> I'm confused about how "last" is being handled with a -n
> (implicit) loop, which is very different from the way "next"
> is being handled. I'd appreciate any insights!
--
Andrew B. Sweger -- The great thing about multitasking is that several
things can go wrong at once.
More information about the spug-list
mailing list