Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 chilling in the Monastery: (7)
As of 2014-10-22 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls