Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Modern Perl: The Book: The Draft

by Anonymous Monk
on Jun 30, 2010 at 15:52 UTC ( #847351=note: print w/replies, xml ) Need Help??

in reply to Modern Perl: The Book: The Draft

Hi chromatic. Thanks for the great work.

I think the book also needs an early chapter covering:

  • installing your own perl into someplace like /usr/local/perl-5.x.y (that is, into a tree all to itself) since the OS tends to use its own system Perl for its own business, and new users should have their own Perl that they can play with
  • installing cpan packages into your own /usr/local Perl but using your OS's package manager for installing packages into the system Perl.
  • installing and using cpanm
  • local::lib -- though this is less important if they've installed their own Perl into /usr/local

New users need that stuff before they can feel comfortable with their setup and dig into more language details.

I'd also like to see a brief "cpan module recommendations" chapter.

This book looks great. Looking forward to making time to read it. Thanks again.

Replies are listed 'Best First'.
Re^2: Modern Perl: The Book: The Draft
by Your Mother (Bishop) on Jun 30, 2010 at 16:15 UTC

    I agree with these points pretty strongly. Being able to run your own perl installation is important in the scheme of "Modern Perl." A huge amount of what ends up being recommended/used is not core. Being stuck with a core installation makes following the advice an exercise in pain and confusion unless there is help for getting the pieces together.

    I am extremely happy with cpanm so far.

Re^2: Modern Perl: The Book: The Draft
by chromatic (Archbishop) on Jul 24, 2010 at 23:03 UTC

    Thanks for the suggestion. I've added a preface which will cover these topics in brief. (I'd most rather link to a section on the Perl 5 wiki with full installation instructions.)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://847351]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2018-06-18 02:51 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.