Depending on whether there are one or more sets of values, XML::Simple either creates a hash or an array, either of which are stored here:
$parsed_response->{Label}->{Image} My code retrieves the correct value when it's an array but I'm not sure how to do the same when it's a hash. I also need to be able to decide if it's a hash or an array so I can execute the appropriate code for retrieving the value. Can anyone show me how to do this? - Grant -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/