felwick has asked for the wisdom of the Perl Monks concerning the following question:

I've spent most of the day reading the posts here about choosing random elements from an array... my problem is that i need to go a step further and i just can't get it! here's the scenario i'm working with: i have an array with 15 elements, i need to randomly choose 5 of them (without duplicates) and then assign them to individual variables as:

$comp1 = "randomElement1";
$comp2 = "randomElement2"; and so on....

anyone? i would really appreciate a solution to this! thanks - felwick