Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
GEORGE 21Is there a quick way to print:
GEORGE 45
NICK 12
PETER 27
JIM 18
JIM 87
CHRIS 33
GEORGE 21I want to show only the unique names and, if a name has multiple numbers, show each number in a separate line without repeating the name at the beginning.
45
NICK 12
PETER 27
JIM 18
87
CHRIS 33
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Any hints on how to do this?
by johngg (Canon) on Jul 25, 2006 at 22:24 UTC | |
|
Re: Any hints on how to do this?
by ahmad (Hermit) on Jul 25, 2006 at 21:49 UTC | |
|
Re: Any hints on how to do this?
by CountZero (Bishop) on Jul 25, 2006 at 21:39 UTC | |
by Anonymous Monk on Jul 25, 2006 at 21:42 UTC | |
by CountZero (Bishop) on Jul 25, 2006 at 21:59 UTC | |
|
Re: Any hints on how to do this?
by Ieronim (Friar) on Jul 25, 2006 at 22:18 UTC | |
|
Re: Any hints on how to do this?
by Util (Priest) on Jul 26, 2006 at 02:43 UTC | |
|
Re: Any hints on how to do this?
by Anonymous Monk on Jul 26, 2006 at 06:05 UTC |