Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: better array to hash conversion

by karlgoethebier (Parson)
on Dec 11, 2012 at 12:28 UTC ( #1008291=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use Data::Dumper;
    ...
              'o' => 14
            };
    
  2. or download this
    @hash{@array} = 0..$#array;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008291]
help
Chatterbox?
and a kettle whistles...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2017-04-29 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.