in reply to perl puzzle - cartoon couple registry (beginner, semi-golf)
print"$_ is married to $couples{$_}",chr 0x0a for sort keys%couples
just tr/0x0a/0x0d/ if your system uses that for newline. and, at 76 chars (ever so short of the limit...), the same code with microsoft newline:
print"$_ is married to $couples{$_}",chr 0x0d, chr 0x0a for sort keys%couples
~Cybercosis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl puzzle - cartoon couple registry (beginner, semi-golf)
by Util (Priest) on Jun 12, 2002 at 20:00 UTC |