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 20:20
Subject:
Re: [perl #93640] Allow comments in qw()
Message ID:
CALJW-qGT2AP=DR0m7k2kbMbvF746GQTT08u8MRRTFcctN=u27w@mail.gmail.com
On Sun, Sep 18, 2011 at 10:09 PM, Aristotle Pagaltzis <pagaltzis@gmx.de>wrote:

> * Eric Brine <ikegami@adaelis.com> [2011-09-19 00:10]:
> > 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.
>
> Does it have any allowances for doing this?
>
>    my @css_color = qw( #ccc #20f #123456 );
>
> Will it accept backslashed octothorpes as literal characters?
>

No, but it should. I will add that feature immediately.

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