Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: What causes HASH to print?

by Thelonius (Priest)
on Feb 27, 2007 at 16:32 UTC ( [id://602326]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Reference found where even-sized list expected
    
  2. or download this
    Reference found where even-sized list expected at pm602312.pl line 2
     (W misc) You gave a single reference where Perl was expecting a list
    ...
            %hash = [ qw/ an anon array / ];        # WRONG
            %hash = ( one => 1, two => 2, );        # right
            %hash = qw( one 1 two 2 );                      # also fine
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-16 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found