I also noticed the script is missing warnings turned on.my $skip_first; my %Belfast_car_dealer_hash = map { $skip_first++ ? ($_ => 1) : () } @{ $car_city_dealer_aoa[0] }; print Dumper \%Belfast_car_dealer_hash;
In reply to Re: Having a problem creating a hash with the map function
by choroba
in thread Having a problem creating a hash with the map function
by bbrelin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |