develooper Front page | perl.perl5.porters | Postings from April 2000

Re: [ID 20000411.002] qw() gives different results in 5.6 to previous versions

Thread Previous | Thread Next
From:
Tom Hughes
Date:
April 15, 2000 09:48
Subject:
Re: [ID 20000411.002] qw() gives different results in 5.6 to previous versions
Message ID:
d1c9b2af49.tom@compton.compton.nu
In message <200004142343.QAA05204@maul.ActiveState.com>
          Gurusamy Sarathy <gsar@ActiveState.com> wrote:

> On Wed, 12 Apr 2000 15:11:36 BST, "M.J.T. Guy" wrote:
> >Graham Barr <gbarr@dhcp69.uk.valueclick.com> wrote
> >> $ perl5.6.0  -le 'print qw{ (?:\\\\.|[^\\\\()]+)* }'
> >> (?:\\\\.|[^\\\\()]+)*
> >
> >Clearly a bug, since both 5.005_03 and 5.6.0, in their own ways, say that
> >the argument to qw{} is subject to q{} quoting:
>
> Agreed.  I think the KEY_qw processing in toke.c is missing the moral
> equivalent of calling tokeq(PL_lex_stuff).  Patch welcome.

Patch attached.

Tom

-- 
Tom Hughes (tom@compton.nu)
http://www.compton.nu/
...It now costs more to amuse a child than it once did to educate his father.

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