8 lines
190 B
Perl
8 lines
190 B
Perl
|
#!/usr/local/bin/perl -w
|
||
|
|
||
|
my %cities = ("Toronto" => "East", "Calgary" => "Central", "Vancouver" => 'West');
|
||
|
|
||
|
for $key (keys %cities)
|
||
|
{
|
||
|
print "Key: $key Value: $cities{$key} \n";
|
||
|
}
|