in reply to How to 'pull in' input
H:\>echo foobar | perl -le "while (<>) { print qq/Got Line: $_/ } " Got Line: foobar [download]