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

4 lines
44 B
Perl

my $str = 'Foo';
$str .= 'bar';
print $str;