in reply to RE: IP address!
in thread IP address!
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');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: IP address!
by Anonymous Monk on May 11, 2000 at 20:30 UTC |