Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: Storing data into hashes

by Corion (Pope)
on Dec 31, 2012 at 10:35 UTC ( #1011039=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Storing data into hashes
in thread Storing data into hashes

When I run the code I showed, I get different output:

use Data::Dumper; my %SeqRec = (foo => 'bar'); print ("content of hash is " . Dumper \%SeqRec);
content of hash is $VAR1 = { 'foo' => 'bar' };

Your output is at least missing the closing bracket. If you want to debug this, please show the full code you're running.


Comment on Re^5: Storing data into hashes
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-09-16 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls