in reply to Re: Hash of arrays of arrays
in thread Hash of arrays of arrays
This is similar to the 'for' loop in ikegami's excellent example code. And I have seen something similar used in other code samples concerning hash-of-arrays structures. But when I print out the value of '@{$db{$key}}', I get:if ($i < @{$db{$key}}) ...
Obviously, I would have expected to get an integer. Does the fact that my array elements contain another level of arrays (unlike the other examples I have seen) mean that I need a different test? Or is this simply a side-effect of 'print'?ARRAY(0xfdb30)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Hash of arrays of arrays
by ikegami (Patriarch) on Oct 08, 2004 at 19:05 UTC |