On Jan 13, 2010, at 3:56 PM, BINGOS via RT wrote:
Show quoted text> Queue: CPANPLUS
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=53635 >
>
> As I recall Jos resisted such a feature when I requested it, but we
> reached an accommodation wherein I created CPANPLUS::Config::BaseEnv
> which does allow one to specify through an environment variable the
> location where CPANPLUS will look for it's .cpanplus directory.
Environment variables don't survive a 'save this config to disk',
as they'll be interpolated with their values.
The 'best' way is to write CPANPLUS::Config::* files, which will
be picked up and evaluated where you can change anything you want,
including the home directory.
Bingos' solution is the right way to go.
Cheers,
--
Jos Boumans
'Real programmers use "cat > a.out"'