in reply to How to 'pull in' input

How are you sending the info to the perl script? Reading from <> seems to work fine for me in Windows (ActiveState Perl v5.8.0):
H:\>echo foobar | perl -le "while (<>) { print qq/Got Line: $_/ } " Got Line: foobar