[charnames.pm is unavailable in 5.00503.]

Commenting out the 'use charnames' in String.pm, I only get two failures
for languages/perl6 with perl5.00503.  They are

t/compiler/b_4.p6, which is

sub main() {
    print "\c[^J]"; # Control-Char
    print "\c[REVERSE SOLIDUS]\n"; # Named Unicode
    print "\c[INVERTED EXCLAMATION MARK;CENT SIGN]\n"; # Named-Unicode m-block
    print "\0[0x010]\n"; # Number block
    print "\x[40;50]\n";
}

This fails as String.pm tries to load in charnames.pm.  I don't see any
way 5.00503 could correctly handle that test.

and t/compiler/c_1.p6, which is

sub main() {
        print 0b0110;
        print "\n";
        print -0b0110;
        print "\n";
}

Perl5.00503 doesn't understand the 0b notation, and it's hard to see that
it's worth a lot of effort to make 5.00503 correctly handle that test.

On balance, I wonder if these tests should simply be skipped if $] < 5.6.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to