Hi -

I have a perl 'filter' script that relies on piped input from STDIN,
i.e.:

  find /etc/ | ./myfilter.pl etc...

I have a need to interact with the user later in this script (or in
a forked script), and , hence need STDIN to again accept input
from the keyboard device after I process all of the piped input.

It doesn't work. I have tried to deactivate the pipe with:

  close STDIN;

which works, but I can't seem to figure out how to reopen
STDIN to the keyboard device. Any hints?

Thanks,

Confused in Honolulu,

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