Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: right use of a hash table

by monkey_boy (Priest)
on Jul 19, 2007 at 15:22 UTC ( #627540=note: print w/ replies, xml ) Need Help??


in reply to right use of a hash table

change
 my $M4;
to
 my %M4;
Individual hash elements are accessed/set like so  $M4{foo} = 'bar'; but Hashes are declared like  my %M4 = (foo => 'bar', me => 'you' );



This is not a Signature...


Comment on Re: right use of a hash table
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2015-07-30 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls