develooper Front page | perl.perl6.internals | Postings from July 2002

Re: [PRE-RELEASE] Release of 0.0.7 tomorrow evening

Thread Previous | Thread Next
From:
Leopold Toetsch
Date:
July 22, 2002 08:09
Subject:
Re: [PRE-RELEASE] Release of 0.0.7 tomorrow evening
Message ID:
3D3BF971.2020405@toetsch.at
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


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