in reply to
Re^4: If exists (hash)
in thread
If exists (hash)
I guess you want to check
'HASH' eq ref $xml->{result}{covers}
Comment on
Re^5: If exists (hash)
Download
Code
Replies are listed 'Best First'.
Re^6: If exists (hash)
by
packetstormer
(Monk)
on Oct 06, 2011 at 15:28 UTC
Excellent! Thanks. I didn't know anything about "ref" but that is exactly what I needed. I can now do a check to see if its a value of a hashref and then do as I need from there.
Thanks very much! Working perfect now!
[reply]
In Section
Seekers of Perl Wisdom