in reply to Manipulating Arrays
Additionally, it looks like you want both a fixed size (you mention 2 word phrases and then 4 word long phrases) and a fixed total (50). Do you have unspoken requirements - if so what are they.
I have code (and so do other monks and CPAN) that does combinations, permutations, fixed size groupings, etc. I need more information before I can recommend one of them.
Cheers - L~R
Update: I did have a double negative pointed out by AM below. The correction is to strike one of them as order doesn't matter in combinations. The attempted correction by AM is incorrect.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Manipulating Arrays
by Anonymous Monk on Aug 11, 2005 at 15:45 UTC |