Hi all, So I have packed all my .pm files into one .par file (called packedmodules.pm) and done the following at the beginning of my main pl file (unpackedold.pl)
use PAR 'packedmodules.par'; use Assert; (Assert.pm is one of the modules packed into the packedmodules.par file) I invoke the following command to package my third party modules with the main file pp -P -o packednew.pl unpackedold.pl And then when I try to run packednew.pl it is still giving me this error message. Can't locate Assert.pm in @INC (@INC contains: CODE(0xe67928) /tmp/par-evanh/cache-ee9c0f8168695880cfb0e03fcd0cc4cbdc7e10d7/inc/lib /tmp/par-evanh/cache-ee9c0f8168695880cfb0e03fcd0cc4cbdc7e10d7/inc CODE(0x837ef8) /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . CODE(0x841990)) at script/bagphenotypenew.pl line 7. BEGIN failed--compilation aborted at script/bagphenotypenew.pl line 7. My understanding from the PAR tutorials and online tools is that this should work? Shoudn't the packednew.pl be packaged with all of the necessary modules so that it doesn't have to find them in @INC? I have also tried use PAR; use lib 'packedmodules.par'; use SomeModule; and that did not work either. Where is my misunderstanding? -Evan
