Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

RE: (Adam: JoinMapSplit) RE: One for the regexp fans

by Anonymous Monk
on Aug 05, 2000 at 01:44 UTC ( #26279=note: print w/ replies, xml ) Need Help??


in reply to (Adam: JoinMapSplit) RE: One for the regexp fans
in thread One for the regexp fans

How about using sprinf: $mac = join "", map {sprintf "%02s", $_} split '\.', $addr


Comment on RE: (Adam: JoinMapSplit) RE: One for the regexp fans
RE: RE: (Adam: JoinMapSplit) RE: One for the regexp fans
by PrakashK (Pilgrim) on Aug 05, 2000 at 02:10 UTC
    Forgot to put CODE tags, so I am replying to myself. <CODE>$mac = join "", map {sprintf "%02s", $_} split '\.', $addr<CODE>
RE: RE: (Adam: JoinMapSplit) RE: One for the regexp fans
by PrakashK (Pilgrim) on Aug 05, 2000 at 02:11 UTC
    Forgot to put CODE tags, so I am replying to myself.

    <CODE>$mac = join "", map {sprintf "%02s", $_} split '\.', $addr<CODE>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-08-20 11:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (111 votes), past polls