develooper Front page | perl.perl5.porters | Postings from March 2008

BUG: 5.10.0: use open ':std', ':locale';

Thread Next
From:
David Cantrell
Date:
March 12, 2008 09:44
Subject:
BUG: 5.10.0: use open ':std', ':locale';
Message ID:
20080312164355.GA5052@bytemark.barnyard.co.uk
Recent versions of Test-Simple fail their tests on a couple of my 5.10.0
machines.  Schwern tracked it down to:

> $ ./perl-5.10.0/bin/perl -e "use open ':std', ':locale';"
> Cannot find encoding "646" at /tmp/drhyde/perl-5.10.0/lib/5.10.0/open.pm
> line 120.
> Cannot find encoding "646" at /tmp/drhyde/perl-5.10.0/lib/5.10.0/open.pm
> line 128.

Now, it's quite possible that there's something wrong with my locale
settings (not that I've touched them, so they're either whatever the
system defaults are or the sysadmin has decreed), but perl passed all its
tests which means that this combination isn't being tested.  Or at least
not tested properly, meaning that there's either a bug in the tests or a
bug in perl.

I can reproduce the problem on NetBSD and Solaris.  In neither case is
there anything obviously locale-ish in my environment and the string '646'
doesn't appear at all.

This doesn't appear to be a problem on Linux, FreeBSD or OS X.

-- 
David Cantrell | Reality Engineer, Ministry of Information

    Immigration: making Britain great since AD43

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