Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[stevieb]: finally, my MCP41010 digital potentiometers have arrived! This will be my first crack at writing C code to maniuplate hardware directly by reading the datasheet only (no code reviews before starting)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-01-19 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (172 votes). Check out past polls.