Greeting with a name, Variable interpolation



examples/scalars/variable_interpolation.pl
#!/usr/bin/perl
use strict;
use warnings;

my $name = "Foo";
print "Hello ", $name, " - how are you ?\n";


print "Hello $name - how are you ?\n";