This observation was provided by a co-worker. He and I
were both surprised that this worked as it does:
use strict;
use warnings;
my $s = 'foo';
print "s=$ s\n";
produces:
s=foo
But I would have expected this to be consistent and it's
not:
use strict;
use warnings;
my @a = (qw/a b c def/);
my $s = "foo";
print "s=$ s, a=@ a\n";
produces:
s=foo, a=@ a
Is there a defined rule for the whitespace allowed between
a variable's type identifier and its name? Or is this just
an anomoly of variable interpolation in quoted strings?