- or download this
$ perl5.12.5 -we'for my $k qw(a b) {$_=$k}'
$ perl5.14.0 -we'for my $k qw(a b) {$_=$k}'
...
$ $ perl5.18.0 -we'for my $k qw(a b) {$_=$k}'
syntax error at -e line 1, near "$k qw(a b)"
Execution of -e aborted due to compilation errors.
- or download this
=head2 Use of qw(...) as parentheses
...
our @EXPORT = qw(foo bar baz);
where parentheses were never required around the expression.
- or download this
=head2 qw(...) can no longer be used as parentheses
...
This side effect of C<qw> has now been abolished. It has been depreca
+ted
since Perl v5.13.11. It is now necessary to use real parentheses
everywhere that the grammar calls for them.