in reply to WHILE and DEFINED problem

Please refer to this node: To Kill a Meme: while(defined($line = <>)).

Ciao, Valerio

Replies are listed 'Best First'.
Re: Re: WHILE and DEFINED problem
by eldinkim (Acolyte) on Mar 05, 2004 at 15:48 UTC
    Oopss... Seems that defined is not really needed. Thankie very muchie, Valerio! That is quite an article. I'll try to absorb it anyway. Ciao! :)

      You are welcome :) Some monks here don't agree on this; read that thread and you'll discover that the real problem lies in the wrong use of defined, see Thelonius's answer for a quick answer :)

      Ciao, Valerio