Marc Lehmann <[email protected]> writes:

> As such, p5p doesn't even consider 5.18 broken. It's perl itself and cpan
> that is broken, and 5.18 is merely part of the fix.

Oh, come on, don't bash these people. They are trying to keep perl
healthy and alive.

The construct which is leading to this error now is being flagged as
deprecated since perl 5.13.11. And now it's eventually removed.

Here is the text from the perldelta-doc:

------------ snip ------------
qw(...) can no longer be used as parentheses

qw lists used to fool the parser into thinking they were always
surrounded by parentheses. This permitted some surprising constructions
such as foreach $x qw(a b c) {...}, which should really be written
foreach $x (qw(a b c)) {...}. These would sometimes get the lexer into
the wrong state, so they didn't fully work, and the similar foreach qw(a
b c) {...} that one might expect to be permitted never worked at all.

This side effect of qw has now been abolished. It has been deprecated
since Perl v5.13.11. It is now necessary to use real parentheses
everywhere that the grammar calls for them.
------------ snip ------------

Greetings,
Michael

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to