#! /usr/local/bin/perl # This example shows string concatenation $string1 = "Hello"; $string2 = "World"; $newstring = $string1 . " " . $string2; #concatenate the two strings with a space in the middle print "$newstring\n";