On 4/12/07, Jason Forkey <[EMAIL PROTECTED]> wrote:
Thanks for the patch. Now when I run the script on my target machine, I get:
# perl hello.pl
Can't locate PAR/Heavy.pm in @INC (@INC contains: CODE(0x818557c) /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl
.) at /usr/bin/par.pl line 310.
The target machine is a vanilla perl installation. From my understanding the
-P option is
supposed to bundle all non-core modules that the script needs, including PAR
itself.
The documentation for -P isn't very explicit about including PAR (and its
non-core dependencies). But anyway, even if it did, the result would be
useless in your case: PAR needs Archive::Zip which needs Compress::Zlib
which isn't pure-perl (and not in core either for perl < 5.9.x).
Cheers, Roderich