|Think about Loose Coupling|
Re^3: <> oddity ?by LanX (Chancellor)
|on Mar 27, 2013 at 11:50 UTC||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.
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).
( addicted to the Perl Programming Language)