Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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;

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 taking refuge in the Monastery: (6)
As of 2016-07-23 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (220 votes). Check out past polls.