> perl -le '$x=<STDIN>; print $x'
hello <- I TYPED THIS IN AND HIT RETURN
hello

> perl -le 'my($x)=<STDIN>; print $x'
hello <- I TYPED THIS IN AND HIT RETURN
[no answer, hangs forever]

Why?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to