|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^3: with tied hash, 'each' gives key that doesn't 'exists'by cmac (Monk) |
| on Sep 18, 2010 at 06:18 UTC ( [id://860604]=note: print w/replies, xml ) | Need Help?? |
|
It is not generally true that each returns keys (or key/value pairs) in ascending order by key. It is true for some base classes that one can tie a hash to, but not for DB_File which is what the OP is asking about. See the description of each in Programing Perl 3rd Edition p. 703.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||