- or download this
# This is the goal
#%Belfast_car_dealer_hash = ("Toyota"=> 1,
# "Chrysler" => 1);
# "Ford" => 1);
- or download this
my %Belfast_car_dealer_hash = map { $_ => 1 } @dealers[1,3,4];
- or download this
$VAR1 = {
'Chrysler' => 1,
'Toyota' => 1,
'Ford' => 1
};
- or download this
use strict;
use warnings;
...
);
print $_, "\n" for @{ $citiesDealers{'Belfast'} };
- or download this
Toyota
Chrysler
Ford