substr($mac,1) =~ s/(.)(.)/$1:$2/g; [download]
In reply to Re: Insert colons into a MAC address by JavaFan in thread Insert colons into a MAC address by mantager