7 lines
148 B
Perl
7 lines
148 B
Perl
|
$hash{fruit} = orange;
|
||
|
$hash{sandwich} = club;
|
||
|
$hash{drink} = lemonade;
|
||
|
while(($key, $value) = each(%hash)) {
|
||
|
print "$key => $value\n";
|
||
|
}
|