Does anyone know how to shuffle two arrays randomly in exactly the same way in Perl? For example, say I have these two arrays:
Before shuffling: array 1: 1, 2, 3, 4, 5 array 2: a, b, c, d, e
After shuffling: array 1: 2, 4, 5, 3, 1 array 2: b, d, e, c, a
So every element in each array is bound to its equivalent element.