in reply to with tied hash, 'each' gives key that doesn't 'exists'
Since you're not using the value, have you considered using keys instead of each? Maybe there's a bug in the DB_File implementation of each that is not in the keys implementation.
Also, have you considered using Data::Dumper or YAML to dump the hash to text and peruse it in your favorite editor? Sometimes patterns emerge just from getting a look at the data.
--marmot
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: with tied hash, 'each' gives key that doesn't 'exists'
by locked_user sundialsvc4 (Abbot) on Sep 16, 2010 at 17:08 UTC | |
by cmac (Monk) on Sep 18, 2010 at 06:18 UTC | |
|
Re^2: with tied hash, 'each' gives key that doesn't 'exists'
by hbm (Hermit) on Sep 16, 2010 at 16:49 UTC |