I seem to remember there being a get function that does this too, but I can't remember it at the moment.$_ = `/sbin/ifconfig $if`; (/inet addr:((\d{1,3}\.?){4})/m) ? ($ipaddr = $1) : (warn 'ifconfig failed');
In reply to RE: RE: IP address!
by Adam
in thread IP address!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |