Skip Menu |

This queue is for tickets about the Encode-JISX0213 CPAN distribution.

Report information
The Basics
Id: 105503
Status: resolved
Priority: 0/
Queue: Encode-JISX0213

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: 0.04



Subject: Replacement list is longer than search list warning
Running tests shows this warning: make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/JISX0213.t ...... Replacement list is longer than search list at /home/test/rpmbuild/BUILD/Encode-JISX0213-0.03/blib/lib/Encode/JISX0213/CCS.pm line 181. Replacement list is longer than search list at /home/test/rpmbuild/BUILD/Encode-JISX0213-0.03/blib/lib/Encode/JISX0213/CCS.pm line 183. t/JISX0213.t ...... ok t/pod.t ........... ok t/ShiftJIS2004.t .. Replacement list is longer than search list at /home/test/rpmbuild/BUILD/Encode-JISX0213-0.03/blib/lib/Encode/JISX0213/CCS.pm line 181. Replacement list is longer than search list at /home/test/rpmbuild/BUILD/Encode-JISX0213-0.03/blib/lib/Encode/JISX0213/CCS.pm line 183. t/ShiftJIS2004.t .. ok All tests successful. It points to these two lines: $utf8 =~ tr/\x21-\x7E/\x{FF01}-\x{FF5E}/; $utf8 =~ tr/\x21-\x5B\x{00A5}\x5D-\x7D\x{203E}/\x{FF01}-\x{FF3B}\x{FFE5}\x{FF3D}-\x{FF5D}\x{FFE3}/; According to <http://matrix.cpantesters.org/?dist=Encode-JISX0213+0.03>, the warning started to appear in perl 5.21.6. It was O.k. in 5.12.3.
Hi, I submitted a report to perl5 RT: https://rt.perl.org/Public/Bug/Display.html?id=125493 Regards, -- nezumi On 2015-6月-26 金 08:53:55, ppisar wrote: Show quoted text
> Running tests shows this warning: > > make test > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "- > MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > t/JISX0213.t ...... Replacement list is longer than search list at > /home/test/rpmbuild/BUILD/Encode-JISX0213- > 0.03/blib/lib/Encode/JISX0213/CCS.pm line 181. > Replacement list is longer than search list at > /home/test/rpmbuild/BUILD/Encode-JISX0213- > 0.03/blib/lib/Encode/JISX0213/CCS.pm line 183. > t/JISX0213.t ...... ok > t/pod.t ........... ok > t/ShiftJIS2004.t .. Replacement list is longer than search list at > /home/test/rpmbuild/BUILD/Encode-JISX0213- > 0.03/blib/lib/Encode/JISX0213/CCS.pm line 181. > Replacement list is longer than search list at > /home/test/rpmbuild/BUILD/Encode-JISX0213- > 0.03/blib/lib/Encode/JISX0213/CCS.pm line 183. > t/ShiftJIS2004.t .. ok > All tests successful. > > It points to these two lines: > > $utf8 =~ tr/\x21-\x7E/\x{FF01}-\x{FF5E}/; > $utf8 =~ tr/\x21-\x5B\x{00A5}\x5D-\x7D\x{203E}/\x{FF01}- > \x{FF3B}\x{FFE5}\x{FF3D}-\x{FF5D}\x{FFE3}/; > > According to <http://matrix.cpantesters.org/?dist=Encode- > JISX0213+0.03>, the warning started to appear in perl 5.21.6. It was > O.k. in 5.12.3.
Fixed by 0.04. Thanks!