RosettaCodeData/Task/String-prepend/Perl/string-prepend.pl

4 lines
55 B
Raku

my $str = 'bar';
substr $str, 0, 0, 'Foo';
print $str;