Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2017-02-28 15:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (402 votes). Check out past polls.