13gurpreetsingh has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Tried searching many a times, but couldn't find. I believe there isn't a real solution to my problem, but might be !!

So, I am working on Company Servers where I deploy modules in separate directory due to root permission issues and use them via PERL5LIB or 'use lib'.

But problem comes when installing each module goes up and up with recursive dependencies. I have proxy restrictions due to which I can't connect to internet on shell and directly install via cpan. Each module, and thereafter its parent module, I have to download, unzip and install manually.

Is there a way I can view all the dependencies of a module I am going to install on browser itself and view the order of installation?

If it is possible, I will go and download them one by one and install it in that manner instead of opening multiple sessions to a server, multiple browser windows, doing scp from my local windows machine, unzip and blah blah. Although this is also a manual work, but atleast a bit better.

Thanks for your help in advance.

Replies are listed 'Best First'.
Re: Recursive Module Dependencies
by marto (Cardinal) on Feb 27, 2017 at 11:23 UTC

    CPAN modules for getting module dependency information is worth taking the time to read, note that some options covered here won't meet your needs as they require internet access. I'm in a similar situation for a client. No internet access from servers. I use minicpan to create version of cpan, which is then transferred to a suitable area of the clients network. Then I configure cpanm/cpan to point to the cpan mirror on the client network and use these tools as normal.