in reply to Verify string as ethernet address
weed out all the trash chars, I mean, why not?$mac =~ s/-/:/g; #to $mac =~ s/[^0-9A-F]+/:/g;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Verify string as ethernet address
by fs (Monk) on May 30, 2001 at 21:52 UTC | |
by Koschei (Monk) on Jun 01, 2001 at 08:05 UTC | |
by suaveant (Parson) on May 30, 2001 at 21:57 UTC |