15 lines
216 B
Perl
15 lines
216 B
Perl
|
#!/usr/bin/perl -w
|
||
|
|
||
|
use strict;
|
||
|
|
||
|
my %where = (
|
||
|
G => "A",
|
||
|
L => "B",
|
||
|
I => "C",
|
||
|
S => "D"
|
||
|
);
|
||
|
|
||
|
my($k, $v);
|
||
|
while (($k, $v) = each %where) {
|
||
|
print "$k lives in $v\n";
|
||
|
}
|