On Fri, Mar 14, 2003 at 02:02:53PM -0000, Edward Wildgoose wrote: > I have par 0.65 on Activestate 5.6 perl (on Win32). I am trying to compile a perl > script using "pp" which has in the first few lines > > require "cmdQueue.pl";
Hrmph. It seems that Module::ScanDeps does only scan for module files, not
perl scripts.
As a work-around, you can rename cmdQueue.pl to cmdQueue.pm, and just
require cmdQueue;
which will make Module::ScanDeps (and therefore 'pp') see it.
It will require some working on the assumptions made by PAR; I'll
ponder over that. Perhaps, in conjunction with Markus's tmpdir patch
(which will allow PAR to extract non-module files under that directory
using its real name instead of CRC name), the @INC lookup can be made to
look for arbitary files, instead of only modules.
Thanks,
/Autrijus/
pgp00000.pgp
Description: PGP signature
