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 imbibing at the Monastery: (11)
As of 2015-08-03 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (31 votes), past polls