Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Packaging perl modules for installation

by jZed (Prior)
on Sep 27, 2004 at 20:50 UTC ( #394347=note: print w/ replies, xml ) Need Help??


in reply to Packaging perl modules for installation

If some of the modules you are using are XS modules and the machines have different perl versions, then you may not be able to simply copy files even if you knew the @INC locations.

Since production is a locked down environment PPM is out of the question.

Do you mean that using PPM to retrieve remote files is out of the question or that using PPM at all is out of the question? Assuming all your machines are the same platform and can all use binary compatible XS modules, and assuming it's just the remote access that is stopping you, you can download the .ppds onto your development machine, write a script that successively calls PPM on all of the local .ppds, then distribute the script + .ppds to all the production machines. Running the script on each machine will use that machine's perl and @INC to do the local install but won't have to connect to the internet.

You could also do something similar with CPAN.pm, but that would assume that CPAN.pm is configured on all of the production machines.


Comment on Re: Packaging perl modules for installation
Re^2: Packaging perl modules for installation
by Anonymous Monk on Sep 27, 2004 at 20:55 UTC
    I can use PPM on a non-production machine so I think your solution will work. Thanks jZed.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://394347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-08-22 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (153 votes), past polls