|
qntm posted:
I’m surprised print isn’t trying to use reverse as a filehandle and output to it. I used Perl professionally for a decade+, and I’m still surprised by the semantics at times. It’s one of my favorite languages, but it’s a bad language to build software in.
|
# ¿ Nov 13, 2021 02:18 |
|
|
# ¿ May 11, 2024 19:57 |
|
Same. I’m trying to move away from using it professionally, but it fits really well into Unix pipelines so I still grab it for small tasks all the time
|
# ¿ Mar 8, 2022 14:55 |
|
Ruby and Python are better languages for building software, but for throw-away Unix command line uses you really can’t beat learning either Perl or Awk+Sed.
|
# ¿ Mar 8, 2022 19:40 |
|
duck monster posted:Oh Perl stopped being a major player a long long time ago, a combination of people finding other languages (ruby for a while, then python) a bit more ergonomic to maintain without having to learn too much about the language itself. It’s a powerful multifaceted toolbox of a language. But frankly most older Perl is a loving nightmare to maintain unless you live breathe and dream in regex. It’s fun to think about the evolution of languages, and how each evolves to fit a niche, and has to continue to evolve or die. Perl 5 lost almost ten years of progress when it decided to put all changes on hold while waiting for Perl 6, and that’s when Python and Ruby just took over.
|
# ¿ Oct 27, 2023 15:51 |