Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: If exists (hash)

by choroba (Abbot)
on Oct 06, 2011 at 15:12 UTC ( #930001=note: print w/ replies, xml ) Need Help??


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
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930001]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-09-19 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (149 votes), past polls