How to find modules dependency & install it but without cpan/cpanm?

The problem is I don't have access to write $HOME directory. (I only have access to create new directory on $HOME/app-root/data/)

because cpan/cpanm need to create new directory $HOME/.cpan/ I don't have idea how to find all modules dependency by hand (one-by-one).

Do you guys know other method to install module (and find dependency) but without to create ~/.cpan/ directory ?

or maybe how to override ~/.cpan/ to ~/app-root/data/.cpan ?

P.S: Sorry my english is bad, english isn't my native language

Answers


Just (temporarily) change $HOME to a directory you do have write access to:

HOME=$HOME/app-root/data/ cpanm Module

Need Your Help

How to put close button on div without putting inside html using background?

html css

I have a div who are show as rectangle block. i want to show in them on Right top corner a close image who used for remove them like Windows have.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.