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

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

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
September 18, 2011 17:43
Subject:
Re: [perl #93640] Allow comments in qw()
Message ID:
4474.1316392975@chthon
> qw() is inconsistent with the rest of Perl which defines whitespace to
> include comments. (e.g. comments can separate tokens (which is the closest
> the docs come to defining whitespace), regex allow comments as whitespace,
> lex_read_space skips over comments, etc). And most importantly, people
> expect comments to work in qw. 

Disagree.  

Just because some people do, doesn't mean all people do. 

*I* certainly have never expected it to do so.  But I remember
when it happened.  Do you?

I also know how to make them work if I want that sort of thing.
I have a million gtrivial little helpers for the likes of that.

--tom

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