- or download this
foreach $c (each %couples) {
print "$c\n";
};
- or download this
foreach $c ("abbot","costello") {
print "$c\n";
};
- or download this
while (my ($c,$d) = each %couples){
print "$c $d\n";
}
- or download this
print "$_ $couples{$_}$/" for (keys %couples);