I’ve begun to read your book and I see in the introduction a bad illustration of your point of view. You compare two way to install modules with Perl and Ruby: - @perl -MCPAN -e ‘install XML::LibXML’@ - @gem install nokogirl@
Unfortunately, I don’t install my Perl modules with this kind of command line, I prefer to use: - @cpan install XML::LibXML@ which is much more like the gem.
And since, this tool exist since 2003 (https://github.com/andk/cpanpm/blob/ec89f630814e98c983314908ce404e5f8fd7ade8/scripts/cpan), I can presume the usage of this tool is the best practice to install Perl modules.
As always, There’s More Than One Way To Do It, but that doesn’t mean we need to choose the messy one ;)
All the best for your book,
Emmanuel Di Pretoro