in reply to Re: cpan home
in thread cpan home

Thanks for the quick reply. I gave that a try but hit a slight error.
perl -e "require '~/.cpan/CPAN/MyConfig.$(uname).pm'; $INC{'CPAN/MyCon +fig.pm'}=1" -MCPAN -e shell Semicolon seems to be missing at -e line 1. syntax error at -e line 1, near "}=" Execution of -e aborted due to compilation errors.

Replies are listed 'Best First'.
Re^3: cpan home
by Anonymous Monk on Feb 17, 2011 at 03:59 UTC
    Put it in a file
    $ cat mcpan #!/usr/bin/perl -- require $INC{'CPAN/MyConfig.pm'} = ...; require CPAN; CPAN::shell();