programming-examples/perl/String/Interpolcation inside scalar variable.pl

9 lines
119 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl -w
use strict;
my $name = "Tom";
my $salutation = "Dear $name,";
print $salutation, "\n";