There has got to be a more perl-ish way but a quick-n-dirty way would be to
do a system('ipconfig /all') call, capture it, and do a regex for "Physical
Address" and parse it out.> -----Original Message----- > From: Jan Miller [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 12:23 PM > To: [email protected] > Subject: Wintel MAC address fetch > > > new to Perl, have need to fetch MAC address from local > machine. Can anyone > provide a code snippet to get me pointing in the correct direction??? > > Thanks > > Jan... > > > > Jan F. Miller ITSS - Systems Administrator voice:(218) > 726-8096 fax:(218) 726-7674 > University of Minnesota Duluth 1023 University Drive 176 MWAH > Duluth MN 55812-3009 e-mail: jmiller3 @ d.umn.edu > > "I hope for nothing, I fear nothing, I am free" Cretan writer > Kazantzakis > All I want on my tombstone: "He did the best he could" > "Sometimes the dragon wins..." - Mr. Donald Wallace Nielsen > > > > > _______________________________________________ > Perl-Win32-Users mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > > > __________________________________________________________ > This message was scanned by ATX > 1:22:35 PM ET - 5/18/2005 > _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
