On Tue, Oct 01, 2002 at 03:33:42PM -0400, Yannik Lefebvre wrote: > Exemple: i have a list of numbers ( 1 - 2 - 3 - 4 -5) > > i need to find all possible combination from that list > > 1 > 12 > 123 > 1234 > 12345 > 13 > 134 > 1345 > > etc....
Are you having problems with the Perl or the algorithm? If it is the algorithm, look up permutations and combinations somewhere appropriate. If it is the Perl, post what you have and where your specific problem lies. (Though no doubt, if you wait, someone will post some for code you. But then you probably won't learn as much.) > Thank u all! You're welcome! -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]