develooper Front page | perl.perl5.porters | Postings from September 2011

Re: [perl #93640] Allow comments in qw()

Thread Previous | Thread Next
Peter Makholm
September 19, 2011 01:09
Re: [perl #93640] Allow comments in qw()
Message ID:
Eric Brine <> writes:

> On Sun, Sep 18, 2011 at 7:38 PM, Tom Christiansen <>
> wrote:
>   I am fully aware that it no longer compiles into that, but nothing
>   has changed: it is still an uninterpolated literal.
> You're acting like I said there's a bug in qw().
> qw() is inconsistent with the rest of Perl which defines whitespace to
> include comments.

Isn't it quite consisten with the default handling of # in all the other
quote like operators. Neither tr/// nor qx// have any special handling
making '#' used for comments.

In general the whitespace rules are changed inside quote like
operators quite consistenly. The only exception is that you can
explicitly turn some sort of whitespace and comment handling on for


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About