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


in reply to Accessing NIC/mac address ?

A simple search for MAC address would have proved quite enlightening. However there does not yet appear to be a node pointing to my favorite (read the one I've used) method. Net::Interface|Net::Interface. *However*, it is my experience that the MAC address code does not work in the official version, and last I checked (late 2000) the maintainer seemed to have fallen off the Earth. So you'd have to use my patched version. (Thanks tye, IIRC for ->ppport.h).

--
perl -pe "s/\b;([st])/'\1/mg"