Hi Assaf. Take a look at CPAN::Mini::Inject. basically, it is building a CPAN mirror, and then add you modules to it. so you can package your modules as a normal CPAN modules, just not publish them to the world. then you can point you CPAN client to your private server, and type "cpan install App::Awesome" and everything works like it would have been on CPAN.
Shmuel. On 2011/06/21 4:53, Assaf Gordon wrote: > Hello, > > I have a perl script with couple of perl modules, and I would like to package > them and deploy them as easily as possible on multiple unix servers - what's > the recommended way to do that ? (or what is the equivalent "configure&& > make&& make install" of Perl) ? > > These aren't public scripts, so CPAN is not an option. > > There are couple of pre-requisites CPAN modules, so ideally they should be > detected and automatically installed, or at least have errors reported in a > friendly way (e.g. "Module XXX:YYY not found, please install from cpan"). > > Also, the final script should go by default to "/usr/local/bin", but I need > some way to change that (just like with "./configure --prefix=XXXX"). > > Where should I start ? > > Thanks, > -Assaf > _______________________________________________ > Perl mailing list > [email protected] > http://mail.perl.org.il/mailman/listinfo/perl > _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
