On Saturday 20 December 2003 06:02 am, Steve Grazzini wrote:
> On Dec 20, 2003, at 10:44 AM, Beau E. Cox wrote:
> > but I can't seem to figure out how to reopen STDIN to the
> > keyboard device. Any hints?
>
> You could use:
>
>      open STDIN, '/dev/tty'  or die "open: /dev/tty: $!";
>
> Or you could just open another filehandle (e.g. TTY) and
> read the user input from that, rather than from STDIN.
>
> There's also the family of Term::Readline modules on CPAN.

Thanks MUCH - works fine!

Aloha => Beau;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to