On 16/06/2011 18:03, Grant wrote:
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 s
> "G" == Grant writes:
>> ForceArray => ['Image']
G> I tried that and it seems to behave the same as 'ForceArray => 1'.
G> Everything seems to be forced into an array.
that ForceArray should work as i have used it just like that. it will
only force arrays of the keys you pass to it
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
On 16/06/2011 02:15, Grant wrote:
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 s
>> 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 h
On 15/06/2011 18:02, Grant wrote:
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 s
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 t