Skip Menu |

This queue is for tickets about the PDF-Create CPAN distribution.

Report information
The Basics
Id: 73638
Status: resolved
Priority: 0/
Queue: PDF-Create

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

Bug Information
Severity: Normal
Broken in: 1.06
Fixed in: (no value)



Subject: Missing 'use File::Spec' in t/09-cgi.t
Line 19 of the test script t/09-cgi.t uses the module File::Spec like so: my $cginame = File::Spec->catfile(dirname($0) . "/09-cgi-script.pl"); But the script does not load File::Spec iteself, it relies that somebody else loads it. Since bleadperl v5.15.5-165-g951fe22 there is one module less loading File::Spec, namely IO::File and this leads to File::Spec not being loaded anymore in this script. This means that in the next release of perl the loading of File::Spec will need to be done in this script directly. HTH, thanks && Regards,
On 2011-12-31 09:21:58, ANDK wrote: Show quoted text
> Line 19 of the test script t/09-cgi.t uses the module File::Spec like so: > > my $cginame = File::Spec->catfile(dirname($0) . "/09-cgi-script.pl"); > > But the script does not load File::Spec iteself, it relies that somebody > else loads it. Since bleadperl v5.15.5-165-g951fe22 there is one module > less loading File::Spec, namely IO::File and this leads to File::Spec > not being loaded anymore in this script. > > This means that in the next release of perl the loading of File::Spec > will need to be done in this script directly. > > HTH, thanks && Regards,
Patch in $CPAN/authors/id/S/SR/SREZIC/patches/PDF-Create-1.06-SREZIC-01.patch Regards, Slaven
Note that perl 5.16.0 will be released in a few weeks, so the patch should probably be applied before. Regards, Slaven
already fixed in 1.07. thanks for reporting