capturing output from a program that prompts for input

2008-09-09 Thread doubleHelix
I am having a problem in capturing the output and exit value from a system command that prompts the user for input. The following shows a simplification of the problem. Im trying to get it so that all the text before the prompt gets output before the script gets stuck at the prompt. I’m sure it is

find external ip address

2007-11-23 Thread doubleHelix
ok i know how i can find my INERNAL ip address in a script with perl: use Socket; print inet_ntoa(inet_aton("")) ."\n"; but how would I find my EXTERNAL ip address? Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/