> > 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. I changed the code as you suggested and everything now works fine. From my point of view this is sufficient, so perhaps just document and leave as is (or perhaps have the option mentioned in a different thread to add a "-A" flag or make "-M" work for arbitrary files..? Thanks very much - fantastic module! Ed
