http://qs1969.pair.com?node_id=948919

myuserid7 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

I try to port some of my perlscripts that i am using on a dev machine to Production environment. My Problem is that i can not install Modules on the target machine plus it has no inet connection also my dev machine runs ubuntu with perlbrew environment and the production environment is a solaris machine with standard perl installation. So i tried to work with PAR:Packer (for the first time) but i cant get the scripts to work on the target.

Here is what i do:
# pp -P -o superscript.pl script.pl
->transfer to prod machine
# perl superscript.pl
Can't locate PAR/Heavy.pm in @INC (@INC contains: CODE(0x77a1c) /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at /home/user/perl5/perlbrew/perls/perl-5.14.2/bin/par.pl line 348.

can some one help me get this to work? do i need par on the target?

thanks in advance