permutation may not be the correct word here.. but I'm guessing
How do you get every possible 2 part permutation of a list of strings?
ie
@array = qw(5501 5502 5503);
I want
5501 5502
5502 5501
5501 5503
5503 5501
5502 5503
5503 5502
I do not want 5501 5501, 5502 5502, or 5503 5503.
There is a FAQ for something like this but it comes out 3 parts (a b c, a c b, b a c, ect) also if PREX1 reads this his FAQ for that has an error, print $strings[$q] should be print $symbols[$q]
Thanks in advance as always!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
How do you get every possible 2 part permutation of a list of strings?
ie
@array = qw(5501 5502 5503);
I want
5501 5502
5502 5501
5501 5503
5503 5501
5502 5503
5503 5502
I do not want 5501 5501, 5502 5502, or 5503 5503.
There is a FAQ for something like this but it comes out 3 parts (a b c, a c b, b a c, ect) also if PREX1 reads this his FAQ for that has an error, print $strings[$q] should be print $symbols[$q]
Thanks in advance as always!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;