Skip Menu |

This queue is for tickets about the Module-ScanDeps CPAN distribution.

Report information
The Basics
Id: 32725
Status: resolved
Priority: 0/
Queue: Module-ScanDeps

People
Owner: smueller [...] cpan.org
Requestors: fvw [...] var.cx
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.81
Fixed in: (no value)



Subject: feature.pm not being included when using "use 5.010"
Date: Mon, 28 Jan 2008 06:57:14 +0000
To: bug-par [...] rt.cpan.org
From: Frank v Waveren <fvw [...] var.cx>
Since 5.9.5, use VERSION will also load the 'feature' pragma and enable all features of the version specified. Par doesn't seem to pick up on this additional dependency: [/home/fvw] cat > t.pl #!/usr/bin/perl use 5.010; say "foo"; [/home/fvw] pp t.pl [/home/fvw] ./a.out Can't locate feature.pm in @INC (@INC contains: CODE(0x10524d0) CODE(0xf90908) CODE(0xf923b0)) at script/t line 3. BEGIN failed--compilation aborted at script/t line 3. BEGIN failed--compilation aborted at script/t line 3. I'm running perl 5.10.0 and PAR 0.977. Thanks for your good work! --Frank van Waveren
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

Hi Frank, On Mon Jan 28 01:59:14 2008, fvw@var.cx wrote: Show quoted text
> Since 5.9.5, use VERSION will also load the 'feature' pragma and > enable all features of the version specified. Par doesn't seem to pick > up on this additional dependency:
Yes, I can tell without trying that this is definitely an issue. Thanks for bringing it up. I moved the ticket into the Module-ScanDeps queue because that's where the error lies. I hope a fix will be reasonably straightforward. I'll tackle it asap. (with no time scale implied -- due to lots of work) As a stop-gap measure, you can use pp with the "-M feature" flag to force the packaging of feature.pm. Best regards, Steffen
Should be fixed in the Module::ScanDeps SVN trunk at http://svn.openfoundry.org/par/Module-ScanDeps/trunk. I'll make a release when time permits. Cheers, Steffen