You can access the content of a property whose name is held in a variable by using the Perl typical logic, as shown:
$result = $obj->{$property_name};
In this example, the value of the $propname variable is retrieved:
$propname = "Vendor"; $value = $obj->{$propname};