> -----Original Message-----
> From: Cornish, Merrill [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 16, 2000 11:33 AM
> To: Perl-Win32-Users Mailing List
> Subject: RE: Fastest / Best way to open files
> Also beware: while(<FILE>) will stop reading if it hits an
> empty line in
> the middle of the file because an empty string counts as
> "false" in a Perl
> boolean compare. A safer way is
>
> while(defined($line = <FILE>))
>
> so that only the end-of-file will cause you to break out of the loop.
>
Can you explain what an 'empty' string in a file would be? Even an empty
line contains a "\n".
Lauren
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]