[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] thoughts on while(defined(EXP warnings



[Mon, Mar 13, 2000 at 08:40:29PM +0000] David L. Nicol:
> perl -w warns me that is is safer to write constructions
> of the form
> 
> while($line=<HANDLE>){
> 
> as
> 
> while(defined($line=<HANDLE>)){

Actually, only one (IIRC) relase of perl actually did that.

HTH,

--Matthew

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe