3 ms·
perl allows both trailing commas and also optional list-quoting which breaks on whitespace (commas unneeded): my @stuff = ( "foo", "bar",
by jbert 13y ago
perl allows both trailing commas and also optional list-quoting which breaks on whitespace (commas unneeded):
my @stuff = (
"foo",
"bar",
"baz",
);
or:
my @stuff = qw(
foo
bar
baz
);
or
my @stuff = qw(foo bar baz);
TIMTOWDI indeed...