in reply to Re^2: Next permutation
in thread Next permutation
Please note that you can easily implement any "swap" with array slices, like
@a[0,1]=@a[1,0]
and @a=split//,$number
will initialize it.
Now you know everything needed to implement your ideas.
HTH! :)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|