in reply to Re: Changing STDIN to tty
in thread Changing STDIN to tty

I wee bit back, I was offered this snippet of code that might DWYM:
# untested xp solution to getting interactive input on windows. if($^O eq 'MSWin32') { open(TTY, "CON") or die $!; } else { open(TTY, "</dev/tty") or die $!; }