News for hackers. Stuff that matters.
Re:Ask HN: How are you cleaning and transforming data before... by dlachausse on Wednesday May 14, 2025 @02:19PM (#43987624)
It’s not sexy, but Perl is the purpose built tool for this job.
Re:Ask HN: How are you cleaning and transforming data before... by PaulHoule on Wednesday May 14, 2025 @03:18PM (#43988222)
Got a lot of bustedness though. I was writing cgi-bin scripts for Perl and I remember the urldecode in Perl being busted fundamentally, like it would rewrite '%20'-> SP but not rewrite '+' -> SP so I had to write my own urldecode.

My impression is that people use Python to do most of the things that we used to do with Perl.

Circa 2001 I wrote a cookie-based authentication system for the web which had an "authentication module" of roughly 100 lines that I wound up rewriting in at least ten different languages such as PHP, Java, Cold Fusion, Tango, etc. The OO Perl version was the shortest and my favorite.