Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Beginning Perl

    Beginning Perl

    Curtis Poe · 2012

    Everything beginners need to start programming with Perl Perl is the ever-popular, flexible, open source programming language that has been called the programmers’ Swiss army knife. This book introduces Perl to both new programmers and experienced ones who are looking to learn a new language. In the tradition of the popular Wrox Beginning guides, it presents step-by-step guidance in getting started, a host of try-it-out exercises, real-world examples, and everything necessary for a Perl novice to start programming with confidence. Introduces Perl to both new programmers and experienced ones who want to learn a new language Provides a host of real-world applications for today's environments so readers can get started immediately Covers the new features of Perl but fully applicable to previous editions Beginning Perl provides the information and instruction you need to confidently get started with Perl. For Instructors: Classroom and training support material are available for this book.

    Programming
    Open LibraryAmazon
    Stats for nerds
    6recommend
    17mentions
    11people
    2008–2022years
    71% recommend29% neutral

    Mentions per year

    20082010201220142016201820202022

    What Hacker News says

    1. mstFeb 2022
      The latest major release of perl is perl5 version 34, but whatever's in /usr/bin/perl on your distro is almost certainly sufficient for learning with (some of my large scale OO codebases are a bit pickier, but for scripting you're somewhat unlikely to notice the difference).

      Curtis Poe's Beginning Perl is a good all around introduction but I'm unsure if it's a good intro if you're aiming specifically for the text mangling side.

      For an uber-quick-start, I'd go with https://qntm.org/perl_en and then getting up to speed on the regexp side using the man pages linked from here: https://p3rl.org/RE

      thread
    2. vgy7ujmMay 2018
      For learning I would highly recommend the following books:

        Beginning Perl by Ovid.
        Modern Perl by chromatic.
      
      There are a lot of other good Perl books but some of them are getting old and it is better to already know a bit before reading so one can separate good from dated etc.
      thread
    3. vgy7ujmJul 2017
      Nice to see you getting into Perl! For these types of tasks it is indeed very powerful and a great fit.

      Some suggestions for you to research to further improve your script:

      You are using a lot of shell commands in backticks like `rm -rf out && mkdir out`;

      This can be very useful if you want to capture the output of such commands, but it also runs the commands in separate processes using the shell programs. For much of what is in your script you can just use Perl! :)

      Read up on core modules like Archive::Tar and the various IO::* modules to start using pure Perl for what you need to do. http://perldoc.perl.org/index-modules-A.html

      Good books to read would be Modern Perl by chromatic or Beginning Perl by Ovid.

      thread
    4. vgy7ujmFeb 2017
      Excellent advice to learn Perl!

      Be advised that some of the books mentioned are old and while still good books does not teach modern style Perl. Beginners should in my opinion start with Beginning Perl by Ovid and Modern Perl by chromatic (first book in the article).

      thread
    5. MithalduJan 2015
      You're incorrect in your realization. The truth is that the older books for learning perl are simply shitty.

      If you read Ovid's Beginning Perl, or chromatic's Modern Perl, you'll find they managed to explain the concepts very easily.

      thread
    6. MithalduJan 2015
      > gurus

      It doesn't take a guru. Only anyone who actually cares about readability or learned from recent books like Ovid's Beginning Perl or chromatic's Modern Perl.

      The main problem Perl has is not anything to do with its language. It's all the old books from the 90s (that some diehard still recommend), but which teach outright shit when it comes to readable or reliable code.

      thread

    Related

    Cover of Higher-Order Perl
    2007–2026

    Higher-Order Perl

    Mark Jason Dominus
    74 recommend · 122
    Cover of Programming Perl
    2007–2026

    Programming Perl

    Larry Wall
    90 recommend · 298
    Cover of Learning Perl
    2008–2026

    Learning Perl

    Randal L. Schwartz
    9 recommend · 15
    Cover of Perl Best Practices
    2008–2025

    Perl Best Practices

    Damian Conway
    22 recommend · 59
    Cover of Effective Perl programming
    2010–2018

    Effective Perl programming

    Joseph N. Hall
    5 recommend · 8
    Cover of Minimal Perl
    2014–2023

    Minimal Perl

    Tim Maher
    3 recommend · 6
    Cover of The craft of Prolog
    2009–2026

    The craft of Prolog

    Richard A. O'Keefe
    18 recommend · 57
    Cover of Mastering Perl
    2014–2022

    Mastering Perl

    brian d foy
    2 recommend · 4