Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How do you manage module deployment?

by CountZero (Bishop)
on Jul 13, 2005 at 09:06 UTC ( [id://474473]=note: print w/replies, xml ) Need Help??


in reply to How do you manage module deployment?

Could PAR be of any help?

It knows how to put together a working Perl-environment in a single zip file which can be deployed on another computer. If you make a "mock" script or module which uses all the modules you want to deploy, you could perhaps subvert PAR to your use.

You can tweak some settings in PAR so it does or does not include core files.

A presentation on PAR can be found here (Warning: it may not reflect the latest version of PAR, but it gives a good idea what it can do).

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^2: How do you manage module deployment?
by hakkr (Chaplain) on Jul 13, 2005 at 09:30 UTC
    pretty easy to create a zipped tarball from your source.
    system ("tar -zc /sourcedir > /mytarball.tar.gz");
    or you can use the Archive:: cpan modules

    Sounds like a disk image of your perl installation might be handy as well. Or maybe you can create your own rpm's for apt or yum. Apache ant build scripts are also great for copy/moving files around Ant.

      But that is not necessarily cross-platform and may overwrite already installed modules. PAR was meant to avoid these pitfalls. Of course if you are so lucky as to have a single architecture for all your machines ...

      CountZero

      "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found