Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Generating Hash-of-List using map?

by LanX (Canon)
on Sep 23, 2013 at 17:06 UTC ( #1055334=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<117> %hash=()
    
    ...
    
      DB<119> \%hash
     => { A => [1, 2, 3, 4], B => [5, 6], C => [7, 8] }
    
  2. or download this
      DB<125> %hash=()
    
    ...
    
      DB<127> \%hash
     => { A => [1, 2, 3, 4], B => [5, 6], C => [7, 8] }
    
  3. or download this
      DB<128> %hash=()
    
    ...
    
      DB<130> \%hash
     => { A => [1, 2, 3, 4], B => [5, 6], C => [7, 8] }
    
  4. or download this
      DB<135> %hash=()
    
    ...
    
      DB<137> \%hash
     => { A => [1, 2, 3, 4], B => [5, 6], C => [7, 8] }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-09-16 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (156 votes), past polls