in reply to Re^2: using multiple conditionals in a while(test)
in thread using multiple conditionals in a while(test)

You're right.

C:\test>perl -MO=Deparse -e"while( <> ) { print }" while (defined($_ = <ARGV>)) { print $_; } -e syntax OK

But if you're doing it yourself, it's as well to.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: using multiple conditionals in a while(test)
by How09 (Novice) on Dec 04, 2010 at 14:25 UTC
    I see. I had a feeling it was a special case.
    Excellent explanations and examples.
    Thank you.