in reply to
Re^2: Complex hash?
in thread
Complex hash?
The reason that 'array' doesn't match is that you are comparing the return value of
ref
with the string 'array'.
ref
returns what sort of reference something is, and in the case of arrays that string is 'ARRAY'
See
ref
for more information.
Comment on
Re^3: Complex hash?
In Section
Seekers of Perl Wisdom