in reply to
How to write a program to read stdin or command line?
check out
Multiple STDIN sources
Comment on
Re: How to write a program to read stdin or command line?
In Section
Seekers of Perl Wisdom