in reply to reading many file handles at once
With Perl 5.8 you could use Win32::Job .
It enables you to redirect the stdin of a child process .
ZlR.