hello,

I got into learning Perl because some people on IRC said so. at first I wasn’t interested in Perl because I already know Python and Python can almost do anything Perl can. I still gave it a try to kinda have some experience learning new language. I am on chapter 3 right now and would make another post about my progress.

https://blob.perl.org/books/beginning-perl/3145_Chap03.pdf

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    19
    arrow-down
    4
    ·
    3 months ago

    A bit too late. 20 years ago this would be great. (I started 12 years ago, used it for couple of hobby projects.)

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      22
      ·
      3 months ago

      For the language itself, maybe. But never discourage people from learning something new. He seems to be excited and has motivation. There are also lot of legacy code, which would never get ported or maintained if nobody learns the language anymore, only a few old people at that point (look what happens to COBOL).

  • fulg@lemmy.world
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    3 months ago

    some people on IRC

    Well there’s your problem! (just kidding)

    Honestly though I don’t know why you would pick Perl unless you want to learn an obscure language that is both painful to read and write. May $deity have mercy on your soul.

  • spacedogroy@feddit.uk
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    3 months ago

    I worked with Perl for years, and I don’t recommend it for a beginner. There are just too many idiosyncrasies that belong specifically to the language that you’d be better off with Python for learning the basics.

    I’m also not really sold on that book, which from the code samples looks really old. I’d recommend two books: Modern Perl and Perl Best Practices.

    Edit: I’d also recommend working in Go but potentially the way i/o intersects with interfaces makes it a bit more challenging.

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    3 months ago

    I was about to start learning Perl in a proper way, but always decided against it. I just can’t find a good reason for myself to write Perl code. Unless you want to read or edit others Perl code, what is the reason to learn it? GNU+Bash and Python are often enough for me.

    So why learning and using Perl in modern age and day as a newcomer to the language? Look, I’m not negative here, just asking honest question. Because I am actually searching for good reasons to learn Perl.

  • CIAvash@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    If you want/like/enjoy something, do it, don’t listen to others. It’s also OK to learn something but never use it, either for the joy of learning or learning new things and new ways of looking at things.

    Perl was my first favorite programming language, I really liked it. my brain could connect with it easily(same thing wasn’t true for other PLs). It even helped me understand other programming languages better.

    My current favorite language is Raku.