What is the best way of finding the Ethernet address? I looked at a CPAN module, but noticed it had the code:
qx(ipconfig /all)
embedded in it. Yuck!
I need a solution that works on Solaris, Windows XP, Windows 2000, Linux, and Mac OS X (I just threw the last one in, but why not? I do want a universal solution)
Is there some Perl module that does this in a fairly clean way? Can you use "getbyaddr" or some other Perl function to do this? My first preference is to use a built in Perl function, My next preference is to use a standard Perl module (the ones that come with Perl when you install it).