Card shuffles: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
(Fix Perl6 -> Raku in comments)
Line 1,398: Line 1,398:


=={{header|Perl}}==
=={{header|Perl}}==
Follows the Perl 6 implementation for the overhand shuffle, but uses classic one-liner for riffle.
Follows the Raku implementation for the overhand shuffle, but uses classic one-liner for riffle.
<lang perl>sub overhand {
<lang perl>sub overhand {
our @cards; local *cards = shift;
our @cards; local *cards = shift;