in reply to Re: STDIN behaves different according to context
in thread STDIN behaves different according to context
Also, it would be useful to know how the script is being called. If you're running it by calling (dumb example):
$ echo '' | myscript.pl
then I can see the problem.
LAI
:eof
|
|---|