In the script it mentions that the message can't be piped through it
since there is then no access to stdin to prompt the user. One way round
this is to do this:

open(TTYOUT, ">/dev/tty");
open(TTYIN, "</dev/tty");
print TTYOUT "Hello World!";
$abc = <TTYIN>;
close(TTYIN);
close(TTYOUT);

-- 
Benjamin Smith <[EMAIL PROTECTED], [EMAIL PROTECTED]>

Attachment: msg22984/pgp00000.pgp
Description: PGP signature

Reply via email to