Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Perl Internals: Hashes

by kelan (Deacon)
on Apr 15, 2004 at 21:09 UTC ( #345549=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %test;
    $test{a} = 1;
    $test{b} = 2;
    
  2. or download this
    something(%test);
    
  3. or download this
    something(a, 1, b, 2);
    
  4. or download this
    %test = (a, 1, b, 2);
    
  5. or download this
    %test = (a => 1, b => 2);
    
  6. or download this
    something(%test); # is like something(a, 1, b, 2);
    
  7. or download this
    my %hash = @_; # is like %hash = (a, 1, b, 2);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2014-07-13 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (245 votes), past polls