Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
laziness, impatience, and hubris
 
PerlMonks  

Difference in Hash Declaration

by perl@1983 (Sexton)
on May 07, 2012 at 07:00 UTC ( #969193=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %h =  {
                (
    ...
                ),
            };
    
  2. or download this
    my %h =  (
                (
    ...
                    2 => "b",
                ),
            );
    
  3. or download this
    my %h =  {
                {
    ...
                    2 => "b",
                },
            };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (19)
As of 2013-05-22 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (466 votes), past polls