Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: What's missing in Perl books?

by GrandFather (Saint)
on Nov 16, 2005 at 02:50 UTC ( [id://508874]=note: print w/replies, xml ) Need Help??


in reply to What's missing in Perl books?

I started by skimming the Camel and tried using it as a reference book. It didn't work as a reference book, at least for me. Later I read the Llama, after the Camel it didn't teach me much and it was just as bad as a reference. (Programming I knew, Perl I didn't.)

The Perl Pocket Reference on the other hand I use all the time. Appart from minor omissions (like the range / flip-flop operator), it is an excellent pocket reference. So, the book I'd like to see would be "The Perl Reference": an expanded Pocket Reference that doesn't attempt to teach programming Perl, but that provides Programming Perl level of reference material in a Pocket Reference format. That is, take the Pocket Reference entries and expand them to deal with the edge cases and idiom that the Pocket Reference hasn't room for.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: What's missing in Perl books?
by brian_d_foy (Abbot) on Nov 16, 2005 at 05:19 UTC

      I have a copy, at least at work. We got a copy of the Perl Bookshelf on CD and a real dead tree version of Perl in a Nutshell came with it. I glanced through it, but don't remember much about it. On the other hand, I read through the Perl Cookbook and found that very valuable.


      DWIM is Perl's answer to Gödel
Re^2: What's missing in Perl books?
by ysth (Canon) on Nov 16, 2005 at 04:49 UTC
    I've always thought the Camel (2nd edition; I've not owned the 3rd, though I had it out from the library and skimmed much of it) was a pretty good reference book. Can you give examples of things you wanted to look up but were unable to find? (Perhaps we are using "reference book" differently?)

      I think at least part of the problem was that I was very new to Perl and probably didn't have enough nomenclature sorted out. Specific details are hard to remember - this was six months ago after all.

      I recall looking for help with populating HoH and AoH type structures and getting very frustrated that there seemed to be examples that were one letter away (AoA ...) from what I wanted to do, but nothing that addressed what I was looking for. Often there didn't seem to be anything that pointed me in the right direction or I couldn't find it. It took a while for dereferencing syntax to sink in and looking that stuff up seemed to be somewhat of a chore.

      These days I tend more to use the "Perl Pocket Reference" and perldoc, or the Chatterbox.

      I did enjoy reading the Camel and learned a lot from it that way, but not as a reference.


      DWIM is Perl's answer to Gödel
        I think 50% of the quality of a tech book is in the index and the table of contents (in that order). If I can't find it in the index, it may as well not exist in the book -- I'm certainly not going to spend an hour proving the index is correct.

        I've ranted elsewhere about specific things not being in the Camel index, which turns out were mentioned in the text. I'm not picking on that one, many are like that. In fact, like anything else, there are very few "great" indices.

        After I had the basic syntax worked out, things like Effective Perl Programming took me further than any reference book. Though I've settled on the Camel book to look up functions. But I would have really liked a printed, indexed version of perldoc in the early days. Now, online access is much more prevalent, so it's not a hardship to go looking. But when I'm stuck in a DOS screen trying to read perldoc perlop...well, don't go there, I'm still annoyed with it.

        -QM
        --
        Quantum Mechanics: The dreams stuff is made of

      Grandfather's experience rings a real *BELL* for me, though perhaps for different reasons.

      I came to perl of necessity as a journalist turned flack, who, because of very modest skills with html, was assigned to become a webmaster. Eventually, the html skills got to be fairly decent, but the customers wanted more ( was it not ever thus?). That eventually led to my foray into perl ...which has proven both wonderfully gratifying and intensely frustrating.

      The frustration grows out of collisions with documentation and books that are couched in terms which are undoubtedly both precise and familiar to those who do have a broad CS background... but which I have not.

      So ( at last, he gets to the point), my notion of a ("handy-")reference book is one that can sit beside my keyboard, in my bag, or even on the airline tray in front of me, and provide both answers on functionality and syntax.

      This in NO way deprecates my other notion -- that the Cookbook, Perl - Little Black Book, and even MRE - are references; just not so "handy" unless I'm at my desk and free to take significant time from the immediate task at hand to review or learn the complexities of something not_yet_familiar.

Re^2: What's missing in Perl books?
by gawatkins (Monsignor) on Nov 16, 2005 at 13:54 UTC

    Have you taken a look at Perl Little Black Book It is a condensed version of the Perl Black Book. I own both, the Little book cuts out a lot of the fluff of the big book. I find it very handy as a code reference and small enough to carry in my laptop bag.

    Thanks,
    Greg W

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://508874]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-03-28 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found