in reply to Re: perl puzzle - cartoon couple registry (beginner, semi-golf)
in thread perl puzzle - cartoon couple registry (beginner, semi-golf)
map print("$_ is married to $couples{$_}"),sort keys%couples
60 char, who needs a semi-colon? map map is inefficient and in this case wasteful.
--
perl -pew "s/\b;([mnst])/'$1/g"
In Section
Meditations