Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^5: If exists (hash)

by choroba (Chancellor)
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}

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!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930001]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2017-06-23 11:30 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (543 votes). Check out past polls.