Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: perl puzzle - cartoon couple registry (beginner, semi-golf)
by mothra
|
|