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

is the way of storing data I have mentioned into hash is correct because i dont see any data actually stored in it. the output showed as :

contents of hash is $VAR1 = { '' => undef, 'foo' => 'bar'

Replies are listed 'Best First'.
Re^5: Storing data into hashes
by Corion (Patriarch) on Dec 31, 2012 at 10:35 UTC

    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.