in reply to
print behaving badly
Maybe I'm missing it, but I don't see where $_ is changing (or even being set!) in the loop
print while ();
[download]
Can you explain the logic of just this loop?
Comment on
Re: print behaving badly
Download
Code
Replies are listed 'Best First'.
Re: Answer: print behaving badly
by
chipmunk
(Parson)
on Dec 18, 2000 at 20:22 UTC
The original poster used <PRE> instead of <CODE> around the code, and so the line
print while (<HIS_IN>);
became
print while ();
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom