pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
First, let me apologize. I'm almost positive this question has been answered before, but I couldn't find it.
I have a number of modules I've written. I've got to install my modules on several machines. The modules have a few non-standard prerequisites. So, every time I install my module on a new machine, I have make a list of the prereqs, fire up CPAN and install the prereqs, and then manually install my modules.
Is there a way I can either install my custom module and the prereqs in one command ala:
frob pileofrogs-v0.0.1.tar.gz
Or use cpan to install my modules and the prereqs as though my modules were on CPAN?
perl -MCPAN -e "CPAN::install pileofrogs"
CPAN::Site looks like it does what I want, but it has this warning:
This is not even alpha software and will be made obsolete by CPAN.pm extensions/plugins some day.
So is CPAN::Site actually OK despite that warning, or is there something better to solve my problem?
Thanks!
-Pileofrogs
Update: Success! See CPAN::Mini::Inject Discoveries.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN and Site Modules
by duckyd (Hermit) on Mar 09, 2006 at 01:12 UTC | |
by pileofrogs (Priest) on Mar 09, 2006 at 01:51 UTC | |
by adrianh (Chancellor) on Mar 09, 2006 at 10:28 UTC | |
|
Re: CPAN and Site Modules
by asz (Pilgrim) on Mar 09, 2006 at 16:37 UTC | |
|
Re: CPAN and Site Modules
by grantm (Parson) on Mar 09, 2006 at 23:27 UTC |