You never said what platform you are on either. If UN*Xy the easiest pure-perl is to parse /etc/sysconfig/network-scripts/ifcfg-*. You might steal the code from http://www.webmin.com/webmin/
--
perl -p -e "s/(?:\w);([st])/'\$1/mg"
In reply to Re:**3 (rob_au) Getting net addy on localhost?
by belg4mit
in thread Getting net addy on localhost?
by r.joseph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |