perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Bardsley" <sbards...@rlwinc.com>
Subject RE: intermittent failure reading a file
Date Fri, 15 Jun 2001 19:28:36 GMT
Josh:

I tried your suggestion, but the problem persists.

Steve

-----Original Message-----
From: Joshua Chamas [mailto:joshua@chamas.com]
Sent: Friday, June 15, 2001 3:15 PM
To: Stephen Bardsley
Cc: asp@perl.apache.org
Subject: Re: intermittent failure reading a file

I don't know that while(<IN>) is a good idea,
I wonder what would happen if somehow a line
was blank, would that be boolean 0 ?  Try 
instead:  for(<IN>), or even

 my @lines = <IN>
 for ( @lines ) {

-- Josh


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message