use PAR; use lib "/perl/lib/Craig/foo.par"; use Craig::MySubs;
Obviously, I moved the original MySubs.pm file elsewhere, or it would have found the un-PAR'd version.
When I restart Apache, it fails to find the subs in MySubs.pm
Can't locate MySubs.pm in @INC (@INC contains: /Perl/lib/Craig/foo.par CODE(0xc3 7188) c:/Perl/lib c:/Perl/site/lib . c:/apache/ c:/apache/lib/perl) at c:/Perl/l ib/Craig/PostAds2.pm line 16.
Was your module called "Craig::MySubs", or simply "MySubs"? I'm cofused... Your foo.par should be a zip file with this content:
lib/Craig/MySubs.pm
If your code says something like
use MySubs;
then of course it won't work, since the names mismatch.
Thanks, /Autrijus/
