in reply to Install using perl -MCPAN -e 'install module' doesn't work
The proposed solution would be particularly simple as of CRUX due to the KISS nature of its packages, but I think it would be doable with other distros as well.
The key point: however I'm not sure how easy and most importantly how {reliable,maintainable} patching CPAN.pm would be, so I wonder if it could not expose suitable "hooks" for such an "enhancement" instead, say something along the lines of
where of course there should be an OS-specific CRUX.pm available somewhere in @LIB, or something like that...perl -MCPAN=CRUX -e shell
|
|---|