String interpolation : interpolation « String « Perl






String interpolation

   

#!C:\Perl\Bin\

$something = "comfort";
print "This chair is very ${something}able\n";

   
    
    
  








Related examples in the same category

1.Using {} to separate variable in variable interpolation
2.Variable Interpolation
3.Using string interpolation to reference two dimensional array element
4.Interpolcation inside scalar variable