Concatenate two strings : Concatenate « String « Perl






Concatenate two strings

   

$variable1 = "Hello ";
$variable2 = "there\n";
print $variable1 . $variable2;

   
    
    
  








Related examples in the same category

1.Concatenate string
2.Concatenate strings
3.Concatenate the separate strings
4.Concatenate two string value in print statement
5.String concatenate operator
6.Read input lines and concatenate them.
7.Combine string concatenation operator and string multiplication operator