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

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

Thread Previous | Thread Next
Tom Christiansen
September 18, 2011 17:43
Re: [perl #93640] Allow comments in qw()
Message ID:
> 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. 


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.


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