in reply to Changing STDIN to tty

Also, on Unix, you could try:
system("child process </dev/tty");

Replies are listed 'Best First'.
Re^2: Changing STDIN to tty
by perlfan (Parson) on Sep 01, 2006 at 02:11 UTC
    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 $!; }