http://www.perlmonks.org?node_id=1005744


in reply to Dumb problem with dumper.

Tip #2 from the Basic debugging checklist: start printing array and hash values as soon as you populate them:

print Dumper(\@seq); open $fa, "top_10_hexamers.txt"; while(<$fa>) { chomp; $hx{$_}++; #hash of 10 hexamer } print Dumper(\%hx);

Replies are listed 'Best First'.
Re^2: Dumb problem with dumper.
by oxydeepu (Novice) on Nov 26, 2012 at 19:37 UTC

    Thank you guys.
    Sorry for spamming.
    I figured it out. It works fine.
    Thank you
    Deepak