in reply to Re: finding and deleting an element from array
in thread finding and deleting an element from array

I'll fill in the blanks, for Zaxo's suggestion to use splice:
push @hand, splice @cards, int rand @cards, 1;
You can do this as many times as you wish, to get a full hand.