Syntactic Confectionery Delight | |
PerlMonks |
Re: Insert colons into a MAC addressby Anonymous Monk |
on Jan 15, 2012 at 03:36 UTC ( [id://947941]=note: print w/replies, xml ) | Need Help?? |
$mac = join(':', unpack('A2A2A2A2A2A2', $_)); Could be written as: $mac = join(':', unpack '(A2)*', $_);
In Section
Seekers of Perl Wisdom
|
|