Perl: the Markov chain saw | |
PerlMonks |
Re: something weird in this hash sortingby johngg (Canon) |
on Jan 15, 2009 at 11:56 UTC ( [id://736520]=note: print w/replies, xml ) | Need Help?? |
Put use Data::Dumper; at the top of your script and, after you have created your %name hash, put these lines
and see whether the contents of the hash are what you expected. Another thing, your hash is, apparently, %name but you sort keys (%final). Some discrepancy there! I hope this helps you. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|