skaba9 has asked for the wisdom of the Perl Monks concerning the following question:
Thanks,$hand11 = $cards[rand(@cards)]; @cards1 = grep{$_ ne $hand11}@cards; $hand12 = $cards1[rand(@cards1)]; @cards2 = grep{$_ ne $hand12}@cards1;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: finding and deleting an element from array
by Zaxo (Archbishop) on Sep 05, 2003 at 14:43 UTC | |
by bart (Canon) on Sep 05, 2003 at 17:54 UTC | |
by skaba9 (Beadle) on Sep 05, 2003 at 15:09 UTC | |
Re: finding and deleting an element from array
by Abigail-II (Bishop) on Sep 05, 2003 at 15:01 UTC | |
by benn (Vicar) on Sep 05, 2003 at 15:22 UTC | |
Re: finding and deleting an element from array
by benn (Vicar) on Sep 05, 2003 at 15:13 UTC |