in reply to No such pseudo-hash field
In the unlikely event that no useful accessors are defined in the LicenseInfo package, then you could directly access the properties like so by mapping the array into a hash or a hashref (chosen in this case to match the style of the licenseinfo)
foreach my $license (@licenseInfos) { my $licenseProperties = {map {$_->{name} => $_->{value}} @{$licens +e->{properties}}}; print $license->{customerName}, "\n"; print $licenseProperties->{maxEngines}, "\n"; }
|
|---|