Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Adding Hash Keys/Values

by Kenosis (Priest)
on Nov 08, 2012 at 15:56 UTC ( #1002935=note: print w/ replies, xml ) Need Help??


in reply to Adding Hash Keys/Values

Use double-quotes so $n is interpolated:

$table_hash{"$n,0"} = $m;


Comment on Re: Adding Hash Keys/Values
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-12-25 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls