Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: better array to hash conversion

by karlgoethebier (Prior)
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?
[Discipulus]: when I was used to hand writing I reached a very good level, but chars were ~1mm
[LanX]: choroba: another way of gaining XP is up-voting my posts ... (works always!)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-09-26 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?