The easiest way is with local::lib
In reply to Re: using CPAN to install in custom location by bingos in thread using CPAN to install in custom location by ISAI student