- or download this
my $bar = 3;
my $foo = 'Bar is $bar';
print $foo, "\n";
- or download this
my $bar = 3;
my $foo = "Bar is $bar";
print $foo, "\n";
- or download this
For literal strings, quote with Single.
(Isn't this a silly jingle?)
Interpolation uses Double.
Forget this rule, you'll be in trouble.