Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Help me decipher code containing map function

by shmem (Chancellor)
on Jun 11, 2017 at 12:17 UTC ( [id://1192525]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    map { $val .= sprintf("%02x",$_) } unpack "CCCCCC", $octetstr;
    
  2. or download this
    $val .= sprintf("%02x",$_) for unpack "CCCCCC", $octetstr;
    
  3. or download this
    # result from map is discarded
    # side effect: $val is populated
    ...
    # result from die is discarded (if any), print not done
    # side effect: well...
    print die;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-24 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found