Front page | perl.golf |
Postings from April 2002
Re: Please explain
Thread Previous
|
Thread Next
From:
Jean-Pierre
Date:
April 8, 2002 14:56
Subject:
Re: Please explain
Message ID:
20020408215535.AD577AB13C@postfix1-2.free.fr
Le Lundi 8 Avril 2002 20:47, Yanick a écrit :
>
> map$1{join$|,sort/./g}.=$_,sort<>;
>
> what it means is simply:
>
Thks to you Yanick, and to Stephen. I think the answer to my question is so
obvious you cannot imagine I do not know it, or maybe the question was badly
formulated.
Let me expose it again:
done "feeling", sort/./g give "eefgiln" ... ok
My question : why these programs choose to print "fleeing" and not "feleing"
or "leefing" or another letters permutation ? I suppose there is a dictionary
anywhere, who say "feleing is not a good word, fleeing is a good one". Where
is it, what is this magic mechanism? Is it a Perl functionality, if yes where
is it described?
Jean-Pierre
--
Jean-Pierre Vidal
jeanpierre.vidal@free.fr
Thread Previous
|
Thread Next