in reply to Re: RE: Permutations and combinations
in thread Permutations and combinations
lol, you bother to look upon this old piece of code :))
heh, of course that your snippet is good, but a swap routine could be written even simpler:
... heh, it's not the case for that code thou, as the array is a global one :) cheers.sub swap { reverse @_ }
--
AltBlue.
|
---|
In Section
Cool Uses for Perl