RosettaCodeData/Task/Reverse-a-string/Perl/reverse-a-string-1.pl

3 lines
63 B
Raku

$string = "visor";
$flip = reverse $string; # becomes "rosiv"