Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

PAR and Perlbrew

by myuserid7 (Scribe)
on Jan 20, 2012 at 10:02 UTC ( #948919=perlquestion: print w/replies, xml ) Need Help??

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
->transfer to prod machine
# perl
Can't locate PAR/ 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/ line 348.

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

thanks in advance

Replies are listed 'Best First'.
Re: PAR and Perlbrew
by Anonymous Monk on Jan 20, 2012 at 10:19 UTC

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

    Yes, that is the options you chose

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://948919]
Approved by Corion
Front-paged by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2023-05-28 15:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found