Strings in Perl can be concatenated using the period
., which is an operator we can use to combine two or more strings.
stringN: These are strings we want to join/concatenate.
A new string is returned which is a combination of all the strings concatenated.
# create some strings $a = "Welcome"; $b = " to"; $c = "Nice to have you here!"; # concatenate all strings $d = $a.$b." Edpresso! ".$c; # print the concatenated string print $d;we
View all Courses