Nicholas Clark wrote:

> In October 2000 I believed that 5.005 maintenance *is* important for the
> acceptance of perl6, and I still do now:


Some minutes ago I sent a first patch to Sean, to make it work on 5.005_03.

One reason of failure is shown by the following snippet:

$ cat t1
#!/usr/bin/perl -wl
use strict;

my $r = qr( [-+] )ox;
my $t = '+1';

print $t =~ / \A(?-imxs:$r) /ox ? "yes" : "no";
print $t =~ / \A(?-ims:$r) /ox ? "yes" : "no";

$ perl t1
no
yes

The output is yes/yes on 5.6.1.

(Code similar to the above matching is generated in Perlgrammar.pm,
but there should be a workaround by giving up some readability)

leo

Reply via email to