my $account="blah"; my $password="blah2"; my $ip=`/sbin/ifconfig ppp0`; if ($ip=~/inet addr:(\d+\.\d+\.\d+\.\d+)/) { get ("http://www.myip.org/cgi-bin/Update.py?id=$account&pwd=$p +assword&hostname=all&ip=$1"); }
In reply to Re: catching output
by mr.nick
in thread catching output
by dusk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |