You said "If your problem is to rearrange the elements of @browsers in a random fashion, write a program that shows the array before being shuffled, shuffle it and then show the array after having been shuffled." . Not exactly. I don't want to rearrange the elements , but take them randomly for each comparison i have to do. As i said above.
Thanks for debug idea.