Check out example codes for "append string perl". It will help you in understanding the concepts better.

Code Example 1

$name = checkbook'; 
$filename = '/tmp/' . $name . '.tmp'; -this line-

# $filename now contains "/tmp/checkbook.tmp"

Learn ReactJs, React Native from akashmittal.com