• davel@lemmy.ml
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    2
    ·
    edit-2
    4 months ago

    I’d sooner pipe a dozen POSIX commands together than write a single line of Perl.

    • meyotch@slrpnk.net
      link
      fedilink
      arrow-up
      7
      ·
      4 months ago

      Back when Perl was the language of choice for bioinformatics, I found a huge performance boost pre-processing large (~1Tb) text files using built in unix tools like sed and awk with regex. So while it might take me a full hour to peck out the correct incantation, the task would then run in an hour, compared to four hours or more for the same task using Perl.

      So many pipes…

      • davel@lemmy.ml
        link
        fedilink
        English
        arrow-up
        9
        ·
        4 months ago

        I walked away from Perl about a decade ago, after having used it for about a decade. I have not missed it.

        • TruePe4rl@lemmy.ml
          link
          fedilink
          English
          arrow-up
          3
          ·
          4 months ago

          I play with it sometimes, kinde like some of the syntax, especially regex and ;. I tried doing regex with sed when working on one personal script, but was getting errors way too often everywhere. Perl did what I wanted in a few lines and gave me desired output, so I just used that.

          Imo, it doesn’t really matter what you use for writing code for your personal use as long as it works. : )