Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Any other good perl books

by Your Mother (Archbishop)
on Sep 11, 2019 at 17:02 UTC ( [id://11106022]=note: print w/replies, xml ) Need Help??


in reply to Any other good perl books

What Discipulus and davido said. I found the Perl Cookbook extremely eye-opening because it’s not theoretical, it’s task oriented. That said, it’s verrrrrrrry out of date so should be taken as a leg up on modern approaches enabled by the CPAN and newer Perls.

The best penny-dropper for me is reading tests. Most distributions have a test directory called t. On metacpan.org you can search and visit a module/package of interest, click on Browse, navigate to the top of the the package ({USER/PACKAGE-VERSION} formatted name currently), click on t, and read tests. Download and decompress to play around, edit, and run yourself with prove.

Replies are listed 'Best First'.
Re^2: Any other good perl books
by davido (Cardinal) on Sep 11, 2019 at 17:08 UTC

    I knew I was leaving something important out: the Perl Cookbook, it's old, but also opens ones eyes to the Perl way (although it really is getting a little long in the tooth).


    Dave

Re^2: Any other good perl books
by BillKSmith (Monsignor) on Sep 11, 2019 at 20:02 UTC
    Do not worry about Perl Cookbook being 'out-of-date'. It is often possible (but never necessary) to spice up a recipe with a dash of modern perl.
    Bill

      I agree in spirit, mostly. In that same spirit, it’s also possible to write complex web applications with cgi-lib.pl. :P The Perl Cookbook is 21 years old and best practices have changed radically; Perl 5.4(!) was still new at the time. There is a lot of code in the book that I would be angry to find in production today.

        "There is a lot of code in the book that I would be angry to find in production today"

        I feel that this statement sums up how many people feel, although I've got nothing to back that up.

        That said, I even suggested a relatively old book where things wouldn't be 'proper' now. What's fantastic, is that there aren't many other above-compiled languages that can state that a 21-year-old book will give you the same results then, as they would now.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-03-28 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found