c:\@Work\Perl\monks>perl -wMstrict -MData::Dump -le
"my $hostnum = [ qw(array elements will double-quote interpolate) ];
dd $hostnum;
;;
my $scalar = qq{webmaster@$hostnum};
print qq{>$scalar<};
"
["array", "elements", "will", "double-quote", "interpolate"]
>webmasterarray elements will double-quote interpolate<
####
c:\@Work\Perl\monks>perl -wMstrict -le
"my $hostnum = 'not an array reference';
my $scalar = qq{webmaster@$hostnum};
print qq{>$scalar<};
"
Can't use string ("not an array reference") as an ARRAY ref while "strict refs" in use at ...
####
c:\@Work\Perl\monks>perl -le
"my $hostnum = 'not an array reference';
my $scalar = qq{webmaster@$hostnum};
print qq{>$scalar<};
"
>webmaster<