Writing random subroutines in PERL?

chocomilo

New member
Write a subroutine to randomly shuffle the elements of an array that holds a DNA sequence (make one up to test your code). The subroutine should take the array as an argument and return the array with the same elements but shuffled in a random order. Each element of the original array should appear exactly once in the output array, just like shuffling a deck of cards.



I really just need someone to give me a break down or show / explain what i should do.....thanks a lot!
 
Back
Top