I am trying to parse an XML file using XML::Simple. Everything is working fine except when the node has no value. When I do this:
I get "HASH(0xa1fc9d8)". How can I test if $car_vin has this HASH/hex crap in it so I can blank it out? Or should I go about it another way? I'm not quite understanding what's going on. Thanks.
Code:
print my $car_vin = $record->{LoanUniversal}->[$i]->{Loan}->{LoanInformation}->{CollateralID};
I get "HASH(0xa1fc9d8)". How can I test if $car_vin has this HASH/hex crap in it so I can blank it out? Or should I go about it another way? I'm not quite understanding what's going on. Thanks.