in reply to help on dereferencing structure

Its an array holding one object, which is a blessed hash.

A "dirty" way to do it should be

$var->{'config.datastoreUrl'}[0]{name}

But since it's an object you should rather use a getter from its class VirtualMachineConfigInfoDatastoreUrlPair

Something like (speculating about the right method)

$var->{'config.datastoreUrl'}[0]->get_name()

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)