in reply to Re: Generate unique initials from a list of names
in thread Generate unique initials from a list of names
Nice and short :)
But I'm uncertain it works as I intend. For example, try these names:
__DATA__ Adam Harper Alan Harper
With your code I get this:
d:\tmp>test.pl $VAR1 = { 'A H' => undef, 'A Ha' => undef };
Both of these are ambiguous.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Generate unique initials from a list of names
by Limbic~Region (Chancellor) on Mar 12, 2004 at 17:43 UTC | |
by EdwardG (Vicar) on Mar 12, 2004 at 20:33 UTC | |
by Limbic~Region (Chancellor) on Mar 12, 2004 at 21:00 UTC | |
by EdwardG (Vicar) on Mar 12, 2004 at 21:10 UTC | |
by Limbic~Region (Chancellor) on Mar 15, 2004 at 18:11 UTC |