$VAR1 = [ bless( { 'identifierType' => bless( { 'summary' => 'Asset tag of the system', 'label' => 'Asset Tag', 'key' => 'AssetTag' }, 'ElementDescription' ), 'identifierValue' => ' unknown' }, 'HostSystemIdentificationInfo' ), bless( { 'identifierType' => bless( { 'summary' => 'OEM specific string', 'label' => 'OEM specific string', 'key' => 'OemSpecificString' }, 'ElementDescription' ), 'identifierValue' => 'Dell System' }, 'HostSystemIdentificationInfo' ), bless( { 'identifierType' => bless( { 'summary' => 'OEM specific string', 'label' => 'OEM specific string', 'key' => 'OemSpecificString' }, 'ElementDescription' ), 'identifierValue' => '5[0000]' }, 'HostSystemIdentificationInfo' ), bless( { 'identifierType' => bless( { 'summary' => 'Service tag of the system', 'label' => 'Service tag', 'key' => 'ServiceTag' }, 'ElementDescription' ), 'identifierValue' => 'XXXXXXXX' }, 'HostSystemIdentificationInfo' ) ]; #### my $add_info = $host_view->summary->hardware->otherIdentifyingInfo; #### foreach (@$add_info) { if ( $_->identifierType->key eq "ServiceTag" ) { print $_->_identifierValue , "\n" ; } }