in reply to Re: Re: Multiple STDIN sourcesin thread Multiple STDIN sources
if($^O eq 'MSWin32') { open(STDIN, "CON") or die $!; } else { open(STDIN, "/dev/tty") or die $!; } [download]
King of Laziness, Wizard of Impatience, Lord of Hubris