<9 Jan 2001, 13:01 Uhr wars, als Martin Moss schrieb:>
< How to check if a Module is install >

> I wish to write an installation script which will accompany a new module
> I've written,
> It must install the new module, and then check for the presence of some
> other "inhouse" written modules. If these modules aren't installed on that
> machine the script will go away and install them. Ideally I'd like the files
> to be ftp'd and installed from a local Central Server somewhere.

Rocco Caputo did such a script for his POE module, find it here:

>On Thu, 14 Dec 2000, Rocco Caputo wrote:
>
>> The dependency checker has been written a couple times since it was posted
>> to p5p, and it's generally better for the work.  I'll be happy to mail a
>> tarball with the latest files to anyone who is interested.
>
>Why not put it up on the web somewhere?

Both poe.perl.org and sourceforge.net were experiencing difficulties.
They've since come back, so the code's now at
<http://poe.perl.org/poedown/deptest-0.1201.tar.gz>

Simple usage: run deptest.perl from a distribution's root directory.

 
> Does anybody have any ideas on how to go about this?
> Can I use the CPAN module and just add my internal server to the servers
> list? Then would I be able to just type install MY::NewModule, and let CPAN
> do the rest? Or would I have to have 2 different CPAN configurations for
> this?

If you got a CPAN-mirror at your own ftp-server, no problem, i did it like you,
but you will never need all modules, so all downloading is a mess, and there is no up 
to date CPAN CD AFAIK.


gph

-- 
=^..^=
Gerrit Peter Haase
ID: 0x28A05137
FP: 875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to