programming-examples/perl/String/Concatenate string.pl
2019-11-15 12:59:38 +01:00

8 lines
128 B
Perl

#!/usr/bin/perl
$name="Tom";
$name .= " and"; # Concatenate string
print "$name is the girl's version of Dan.\n";