programming-examples/perl/String/Concatenate string.pl

8 lines
128 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl
$name="Tom";
$name .= " and"; # Concatenate string
print "$name is the girl's version of Dan.\n";