Skip Menu |

This queue is for tickets about the Test-Compile CPAN distribution.

Report information
The Basics
Id: 118419
Status: resolved
Priority: 0/
Queue: Test-Compile

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: v2.2.2



Subject: Test should run "perl -c ./path/to/Module.pm", not use require
Requiring the module causes any code in an INIT block to be run, which in turn causes a warning because it's too late for an INIT block. I think it'd be better to just use "perl -c" to check if a module compiles.
Hi Thanks for your suggestion, Test::Compile now uses 'perl -c' in all situations, and I think it's a more robust solution.