Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Insert colons into a MAC address

by mantager (Sexton)
on Jan 14, 2012 at 22:44 UTC ( #947917=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $mac =~ s/([0-9a-fA-F]{2})\B/$1:/g;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://947917]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-01-30 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (254 votes), past polls