in reply to Perl Hashes / Accessing data
Another nifty trick is to use the each() function, which iterates directly over the keys in a hash without making a separate copy. May not be applicable in your case, but always worth noting. (It once made a huge difference in a program that was working with a “hash” that was actually tied to a massive Berkeley-DB file...)
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Hashes / Accessing data
by chtaylo2 (Initiate) on Jul 30, 2010 at 02:13 UTC |