Writing About Perl

Smylers Smylers at stripey.com
Tue Aug 23 13:27:59 BST 2011


Pete Smith writes:

> using distro packages (cpan probably frustrates newbies to perl if
> installation / tests fail) ...

I'd say the opposite, that cpanm is one of the major highlights of
recent developments in Perl. Somebody who's previously been frustrated
by installing Cpan modules can be impressed by how cpanm just works --
and indeed by how easy it is to install cpanm in the first place.

And given that many modules (or versions of modules) become popular
faster than many users update their servers, suggesting people restrict
themselves to whatever modules come with their distribution may not be
helpful.

For what it's worth, I have:

  PERL_CPANM_OPT='--sudo --prompt'

I think --sudo is definitely worth mentioning when introducing somebody
to cpanm, since the casual user probably only has one Perl interpreter
installed and wants modules to be system-wide.

Smylers
-- 
http://twitter.com/Smylers2


More information about the london.pm mailing list