CC: | arc [...] cpan.org |
Subject: | "perlbrew kickstart" |
Aaron Crane and I were talking about the "step zero" problem of getting Perl installed and CPAN configured. I have a "Quickstart Guide" for perl5i using perlbrew and cpanm. https://github.com/schwern/perl5i/wiki/Quickstart-Guide-For-Unix Aaron pointed out "perlbrew install stable" which removes the need to hard code a version of perl, great! He also pointed out "perlbrew install --switch stable" which removed the need for a separate commend, great!
But we still need "perlbrew install-cpanm".
I would love a "perlbrew kickstart" command which was a "I'm new to Perl, I just want a working Perl and CPAN environment, take care of it". I think that would be equivalent to...
perlbrew install-patchperl
perlbrew install --switch stable
perlbrew install-cpanm
Then I can reduce the perl5i bootstrap to...
curl -kL http://install.perlbrew.pl | bash
source ~/perl5/perlbrew/etc/bashrc
echo 'source ~/perl5/perlbrew/etc/bashrc' >> ~/.bash_profile
perlbrew kickstart
cpanm perl5i
Which I'd love to reduce even further, but the shell stuff is complicated.
But we still need "perlbrew install-cpanm".
I would love a "perlbrew kickstart" command which was a "I'm new to Perl, I just want a working Perl and CPAN environment, take care of it". I think that would be equivalent to...
perlbrew install-patchperl
perlbrew install --switch stable
perlbrew install-cpanm
Then I can reduce the perl5i bootstrap to...
curl -kL http://install.perlbrew.pl | bash
source ~/perl5/perlbrew/etc/bashrc
echo 'source ~/perl5/perlbrew/etc/bashrc' >> ~/.bash_profile
perlbrew kickstart
cpanm perl5i
Which I'd love to reduce even further, but the shell stuff is complicated.