http://qs1969.pair.com?node_id=367627


in reply to Need help to parse the text

Net::Ifconfig::Wrapper provides everything you need to get ifconfig -a info from within perl, including preparsing the data while accounting for platform differences.