Subject: | bug with charset 1.006.1 / encode over SYMPA mailing list |
Date: | Tue, 17 Jun 2008 09:39:47 +0200 |
To: | bug-MIME-Charset [...] rt.cpan.org |
From: | Jean-Michel Bourdin <jean-michel.bourdin [...] dijon.iufm.fr> |
Hello,
I have upgrade my perl module to install the last version of SYMPA (5.4.3).
I have installed the MIME-Charset version 1.006.1 but he doesn't work
anymore with the encode/decode functions.
In the Charset.pm i have found this line (110):
108 use Carp qw(croak);
109
110 use constant USE_ENCODE => ($] >= 5.008001)? 'Encode': '';
111
That means that Perl under the 5.8.1 version doesn't load the module
Encode, which is usefull to work fine with SYMPA.
I remplace the 110 lines by
110 use constant USE_ENCODE => ($] >= 5.008001)? 'Encode': 'Encode';
There is an problem between Perl Version and MIME-Charset integrity.
My system :
Redhat AS3
Perl Version with the MAKE of SYMPA
Checking for PERL version --> your version of perl is OK (5.008 >= 5.008)
With Make test for the MMIE-Charset i got no error :
[root@ldapauth MIME-Charset-1.006.1]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01encode......ok
t/01ooencode....ok
t/02enclen......ok
t/02ooenclen....ok
t/03info........ok
t/03ooinfo......ok
t/04alias.......ok
All tests successful.
Files=7, Tests=77, 1 wallclock secs ( 0.34 cusr + 0.06 csys = 0.40 CPU)
Best regards.
--
Jean-Michel Bourdin
------------------------------------
Service Informatique
I.U.F.M. de Bourgogne
51 Rue Charles Dumont
21000 Dijon
-----------------------------------
Tel 03-80-67-09-02
Fax 03-80-67-09-53
Mél mailto:jean-michel.bourdin@dijon.iufm.fr