Login
You're viewing the code4lib.social public feed.
  • Oct 14, 2026, 8:28 PM

    just saw a post claiming “today the number of people under 50 who'll reach for perl as their first choice of tool for anything new is zero” and hey! It’s at least one

    💬 1🔄 2⭐ 3

Replies

  • Oct 14, 2026, 8:30 PM

    it’s a better bash that is also reliably already installed everywhere, with the useful libs you need available in the system package repos, and because it’s so crusty and old and unappealing you can be confident that code you write today will keep working forever

    💬 1🔄 0⭐ 8
  • Oct 14, 2026, 8:32 PM

    also `perl -pi -e 's/../../g' **/*` is still my go to regex replace tool :)

    💬 0🔄 0⭐ 2
  • Oct 14, 2026, 8:46 PM

    @hailey Yup. My rule of thumb is that every time you find yourself doing flow control or non-trivial data structures in bash, you should have changed to perl already.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0