Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Perl Internals: Hashes

by kelan (Deacon)
on Apr 15, 2004 at 21:09 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://345549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found