Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 cooling their heels in the Monastery: (13)
As of 2014-10-31 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (219 votes), past polls