Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Hash not getting updated

by CharlesClarkson (Curate)
on Apr 30, 2005 at 07:04 UTC ( #452810=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @array = ( 'white', 'blue', 'yellow' );
    my %hash;
    @hash{ @array } = @array;
    
  2. or download this
    my %hash;
    @hash{ 'white', 'blue', 'yellow' } = ( 'white', 'blue', 'yellow' );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://452810]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2017-12-17 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (462 votes). Check out past polls.

    Notices?