Concatenate two string value in print statement : Concatenate « String « Perl






Concatenate two string value in print statement

   

$hello = "Hello";
$there = "there";
print "$hello $there.";

   
    
    
  








Related examples in the same category

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