Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Stupid mistakes I repeatedly make

by jhourcle (Prior)
on Mar 28, 2005 at 02:31 UTC ( #442733=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #@array contains an odd number of values.
    my %hash = ( key => @array );
    # when you meant to say:
    my %hash = ( key => \@array );
    # or
    my %hash = ( key => [@array] );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442733]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-09-26 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (291 votes). Check out past polls.

    Notices?