in reply to Re: Case insensitivity in a hash... Futile effort?
in thread Case insensitivity in a hash... Futile effort?
This is particularly bad if the hash is multi-dimensional. If I wanted to do the equivalent of
using your looping method, I'd have to loop over *three* arrays (for the three different keys).$hash{foo}{bar}{baz} = 2;
I'm not saying you're wrong--I'm just saying that the tie method is, in most cases, a much better and more general solution.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: Case insensitivity in a hash... Futile effort?
by ChuckularOne (Prior) on Apr 19, 2000 at 00:13 UTC |