Okay, so iam writing this code (in PERL) that needs to shuffle an array. But here's the problem:
i need to randomly pick a number between 20 and 40 (which i have done) , then i need to randomly shuffle my array(sequence) that many number of times. I have to do all this in a subroutine but somehow i cant get my code to work as it wont shuffle.
Any help will be appreciated.Thanks.
i need to randomly pick a number between 20 and 40 (which i have done) , then i need to randomly shuffle my array(sequence) that many number of times. I have to do all this in a subroutine but somehow i cant get my code to work as it wont shuffle.
Any help will be appreciated.Thanks.