in reply to Converting MAC Address

my $result = join "", map sprintf("%02s", $_), split /:/, $foo;

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.