Help for this page
use strict; use warnings; ... my $index = int rand scalar @cards; print splice(@cards, $index, 1), "\n"; }