A Perl FAQ is "How do you concatenate (merge) two or more strings in Perl?"
Use the "." operator
The short answer is that you use the
. operator. Here's a simple example:
$name = "alvin" . " " . "alexander";
Of course I could have also done that like this:
$name = "alvin " . "alexander";
but I wanted to show an example with more than two strings.