Maybe it would be better to ask for help with the "algorithms used in some place" and use a hash. It's more efficient to call values() or keys() a few times than it's to build a hash or use grep() or first() whenever you do need to find out the value for a key.
In reply to Re: Pushing arrays into hashes
by Jenda
in thread Pushing arrays into hashes
by BiffBaker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |