PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install My::Module'
Additionally if you want to make sure that the install script will pull all the required dependencies (should be by default, but heh ...):
cpan
cpan> o conf prerequisites_policy follow
cpan> o conf commit
That's it.