in reply to Re: Multiple STDIN sources
in thread Multiple STDIN sources

Thank you all ... at some point I need to find a xp solution so it will work on non-*nix, but that is not a concern right now.

Replies are listed 'Best First'.
Re: Re: Re: Multiple STDIN sources
by dada (Chaplain) on Mar 10, 2004 at 15:03 UTC
    that's easy enough, fortunately. just change the open line from Abigail's code to read:
    if($^O eq 'MSWin32') { open(STDIN, "CON") or die $!; } else { open(STDIN, "/dev/tty") or die $!; }
    cheers,
    Aldo

    King of Laziness, Wizard of Impatience, Lord of Hubris