![]() |
|
Welcome to the Monastery | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
> Why would this program then NOT wait for any further input via STDIN ?
Perl can't read your mind, if you want to read from STDIN, explicitly use STDIN instead of stretching DWIM magic behavior till it breaks.
UPDATE:actually your example is reading from STDIN, but maybe you should stop the redirecting from file to STDIN if you wanna read from interactive input (keyboard). see select
Cheers Rolf ( addicted to the Perl Programming Language) In reply to Re^3: <> oddity ?
by LanX
|
|