Strings In Depth4 / 18
Up next

String interpolation

use strict;
use warnings;
use feature 'say';

my $lang = "Perl";
my $ver  = 5.42;
# scalars interpolate directly
say "I use $lang $ver";
my @tools = ("vim", "tmux");
# arrays interpolate space-separated
say "tools: @tools";
What you're solving

scalars and arrays inside double quotes