You're probably asking the wrong question. "How do I get key values from a hash?" is more likely what you're after.
foreach my $key (keys %$car) { print "$key = $car->{$key}\n"; }
In reply to Re^3: Hash from package
by reasonablekeith
in thread Hash from package
by Yoda_Oz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |