push @num, splice(@array, int rand @array, 1);