I ran your program as printed. the following : a a b b b c d
should have yielded 420 permutations. i get 4976 the same
number as how...permut n..". The text you wrote says "To use
it, first sort.... I'm a perl newbie,please give me layman
details to make this program work w/o duplicate permutations
and I will be eternally grateful to you!!!!
email address swanhits@hotmail.com should you choose
to be more direct. thanks waiting on your reply!!! | [reply] |
| [reply] |
you were right. however, I copied the text from permuting
w/dup...and saved it with , .pl when i ran it from the
command prompt it just gave me another command prompt. I had
no chance to input any data. oh yeah, can it permute numbers
too? my command prompt looks like as follows:
perl permnodup.pl then i hit enter. Even if i doubleclick
on the icon permnodup.pl the perl msdos window comes on and
goes off, instead of waiting for my permutation. What am i
doing wrong? I await your enlightenment!!!!!!
| [reply] |