Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Packaging perl modules for installation

by jZed (Prior)
on Sep 27, 2004 at 20:50 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://394347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found