Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 studying the Monastery: (4)
As of 2016-06-29 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (366 votes). Check out past polls.