in reply to Re: is it an array?
in thread is it an array?
From my perspective, this is an excellent response. I was struggling a bit by the OP's comment that
"each key may or may not be an array."
since an array as a hash key uses the stringified reference address as the key rather than any of the array's constituents.
It seemed like the OP wanted the contents of the array to somehow be the key(s). But I may have not been properly understanding what the OP was seeking. I always get a bit nervous when someone uses either array or hash references as 'keys' to hashes or as indecies for arrays.Just MHO, YMMV.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: is it an array?
by rkrieger (Friar) on Jan 20, 2010 at 20:57 UTC |