in reply to Re: Re:{2} Getting impossible things right (behaviour of keys)
in thread Getting impossible things right (behaviour of keys)
I feel ashamed...
but I donīt understand this code. I would like to before I try if it works or not. (call me a theory fetish monk)
First I donīt understand why you use cmp for the sort.
Then (or because of this) I donīt see how we can be sure
that the longest suffixes are examined first.
I could understand what ($name =~ s/($pattern)$/$sufdata{$1}/o) does. And in fact it is elegant to use regexp instead of an own iteration, just the $pattern creation isnīt clear.
Ciao
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re:{2} Getting impossible things right (behaviour of keys)
by blakem (Monsignor) on Oct 24, 2001 at 22:25 UTC |
In Section
Seekers of Perl Wisdom