This would still produce "No such pseudo-hash field" "Pseudo-hashes are deprecated" / "Argument "maxEngines" isn't numeric in hash element" / "Bad index while coercing array into hash" (with warnings on), because $license->{'properties'} is an arrayref (1).
Rather, it should be
my $maxEngine_name = $license->{'properties'}->[0]->{'name'};
my $maxEngine_value = $license->{'properties'}->[0]->{'value'};
(presuming "maxEngines" corresponds to the first entry in the array)
___
(1) the values which are being looked up internally via the "index hash" (first array elem) - i.e. "maxEngines" and "42000" here - are not useful as indices for the array/pseudo hash. |