Skip Menu |

This queue is for tickets about the date-spoken-german CPAN distribution.

Report information
The Basics
Id: 117615
Status: open
Priority: 0/
Queue: date-spoken-german

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.05
Fixed in: (no value)



Subject: The encoding pragma is no longer supported
Module compilation fails with bleadperl (e.g. perl 5.25.4): PERL_DL_NONLAZY=1 "/bbbike/perl-5.25.4/bin/perl5.25.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t The encoding pragma is no longer supported at /tmpfs/.cpan-build-cpansand/2016090721/Date-Spoken-German-0.05-0/blib/lib/Date/Spoken/German.pm line 97. BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016090721/Date-Spoken-German-0.05-0/blib/lib/Date/Spoken/German.pm line 97. Compilation failed in require at t/basic.t line 4. BEGIN failed--compilation aborted at t/basic.t line 4. t/basic.t .. skipped: (no reason given)
On Wed Sep 07 19:12:06 2016, SREZIC wrote: Show quoted text
> Module compilation fails with bleadperl (e.g. perl 5.25.4): > > PERL_DL_NONLAZY=1 "/bbbike/perl-5.25.4/bin/perl5.25.4" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > The encoding pragma is no longer supported at /tmpfs/.cpan-build- > cpansand/2016090721/Date-Spoken-German-0.05- > 0/blib/lib/Date/Spoken/German.pm line 97. > BEGIN failed--compilation aborted at /tmpfs/.cpan-build- > cpansand/2016090721/Date-Spoken-German-0.05- > 0/blib/lib/Date/Spoken/German.pm line 97. > Compilation failed in require at t/basic.t line 4. > BEGIN failed--compilation aborted at t/basic.t line 4. > t/basic.t .. skipped: (no reason given)
This module and its basic.t use encoding.pm with 'latin1' as the argument. Since latin1 is Perl’s default, it is not necessary for the module to function correctly. Those lines can simply be deleted, which is what this patch does.
Subject: open_53TOOTqq.txt
diff -rup Date-Spoken-German-0.05-0-orig/German.pm Date-Spoken-German-0.05-0/German.pm --- Date-Spoken-German-0.05-0-orig/German.pm 2016-09-12 17:59:42.000000000 -0700 +++ Date-Spoken-German-0.05-0/German.pm 2016-09-12 18:00:17.000000000 -0700 @@ -94,7 +94,6 @@ Type B<perldoc perlmod> to get info on P package Date::Spoken::German; -use encoding 'latin1'; use POSIX; require Exporter; diff -rup Date-Spoken-German-0.05-0-orig/t/basic.t Date-Spoken-German-0.05-0/t/basic.t --- Date-Spoken-German-0.05-0-orig/t/basic.t 2016-09-12 17:59:42.000000000 -0700 +++ Date-Spoken-German-0.05-0/t/basic.t 2016-09-12 18:00:18.000000000 -0700 @@ -2,7 +2,6 @@ use Test::More 'no_plan'; use Date::Spoken::German; -use encoding 'latin1'; my @datetests = ( ["dritter Mai neunzehnhundertfĂĽnfundsiebzig", [3,5,1975]], ["sechzehnter Dezember vierzehn", [16,12,14]],