![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: perl puzzle - cartoon couple registry (beginner, semi-golf)by mothra (Hermit) |
on Jun 12, 2002 at 14:08 UTC ( #173830=note: print w/replies, xml ) | Need Help?? |
Either:
map{print"$_ is married to $couples{$_}".chr 10}sort keys%couples} or: map{print"$_ is married to $couples{$_}<br>"}sort keys%couples} The latter, of course, only newlines in HTML. Update: print"$_ is married to $couples{$_}<br>"for sort keys%couples :)
In Section
Meditations
|
|