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

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

Thread Previous | Thread Next
From:
Eric Brine
Date:
September 18, 2011 15:09
Subject:
Re: [perl #93640] Allow comments in qw()
Message ID:
CALJW-qEXWzHiewtiD51LEYBJyOmw=iP4qN=iYXU-mMQj9ujmeg@mail.gmail.com
On Thu, Jun 30, 2011 at 1:25 PM, Jesse Vincent <jesse@fsck.com> wrote:

> I'm not in favor of this one. It breaks my assumptions about
> what qw means. (Those being "This text will be split on whitespace
> boundaries but otherwise won't be touched")
>

I consider comments part of whitespace (that which separates token but has
no other effect on the code).

perlsyn says comments can appear anywhere except in strings and regular
expressions, qw() being neither.

Pragma module feature::qw_comments now addresses this.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About