Skip Menu |

This queue is for tickets about the PerlIO-Via-QuotedPrint CPAN distribution.

Report information
The Basics
Id: 54047
Status: resolved
Priority: 0/
Queue: PerlIO-Via-QuotedPrint

People
Owner: Nobody in particular
Requestors: toddr [...] null.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: 0.08



Hi, the following changes were made to your test files in blead and should probably be absorbed by your module in CPAN for consistency.
Subject: QuotedPrint.t.patch
--- QuotedPrint.t.cpan 2010-01-27 15:06:48.000000000 -0600 +++ QuotedPrint.t.blead 2010-01-27 15:06:53.000000000 -0600 @@ -1,12 +1,13 @@ BEGIN { # Magic Perl CORE pragma - if ($ENV{PERL_CORE}) { - chdir 't' if -d 't'; - @INC = '../lib'; - } unless (find PerlIO::Layer 'perlio') { print "1..0 # Skip: PerlIO not used\n"; exit 0; } + require Config; + if (($Config::Config{'extensions'} !~ m!\bPerlIO/via\b!) ){ + print "1..0 # Skip -- Perl configured without PerlIO::via module\n"; + exit 0; + } if (ord("A") == 193) { print "1..0 # Skip: EBCDIC\n"; } @@ -25,11 +26,21 @@ in it. EOD -my $encoded = <<EOD; +my $encoded; + +if (ord('A') == 193) { # EBCDIC. + $encoded = <<EOD; +This is a t=51st for quoted-printable text that has h=44rdly any spe=48ial = +characters +in it. +EOD +} else { + $encoded = <<EOD; This is a t=E9st for quoted-printable text that has h=E0rdly any spe=E7ial = characters in it. EOD +} # Create the encoded test-file
Subject: Sync test with bleadperl
QuotedPrint.t currently differs from bleadperl only in that it contains some redundant $ENV{PERL_CORE} boilerplate code which was removed from blead by the following commit: http://perl5.git.perl.org/perl.git/commit/d298f468fca65d287753530a975a3d396dd25e1d Please could you roll a new CPAN release incorporating this change to get in sync with bleadperl? The attached patch does this. It isn't urgent, but I would be very grateful if you were able to do this by 20th August when the next release of Perl is due.
Subject: test.patch
diff -ruN PerlIO-via-QuotedPrint-0.07.orig/t/QuotedPrint.t PerlIO-via-QuotedPrint-0.07/t/QuotedPrint.t --- PerlIO-via-QuotedPrint-0.07.orig/t/QuotedPrint.t 2004-05-12 14:33:34.000000000 +0100 +++ PerlIO-via-QuotedPrint-0.07/t/QuotedPrint.t 2013-03-13 08:36:21.884364000 +0000 @@ -1,8 +1,4 @@ BEGIN { # Magic Perl CORE pragma - if ($ENV{PERL_CORE}) { - chdir 't' if -d 't'; - @INC = '../lib'; - } unless (find PerlIO::Layer 'perlio') { print "1..0 # Skip: PerlIO not used\n"; exit 0;
Synchronized with blead in 0.08.