|P is for Practical|
Re: while modifierby stefp (Vicar)
|on Sep 21, 2001 at 01:27 UTC||Need Help??|
I don't think that while as a modifier can set $_.
nope the problem is not there. the following line works as expected
perl -e 'print $_ while <>'
The problem must be with peculiarities of lexical declared with a modifier in the same statement.
Anyway you could write: