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
Just (temporarily) change $HOME to a directory you do have write access to:
HOME=$HOME/app-root/data/ cpanm Module