this post was submitted on 15 Oct 2026
238 points (76.4% liked)
Fuck AI
8481 readers
740 users here now
"We did it, Patrick! We made a technological breakthrough!"
A place for all those who loathe AI to discuss things, post articles, and ridicule the AI hype. Proud supporter of working people. And proud booer of SXSW 2024.
AI, in this case, refers to LLMs, GPT technology, and anything listed as "AI" meant to increase market valuations.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Throwing rocks from a glass house I see ;)
Perl has scope delimiters, so a sturdy glass house.
I genuinely love the idea of the $1 after a match. It feels so natural in perl! So many things are text matching.
But! But! But!! Those $ variables are dynamic scoped! If you call a method and it matches stuff you lose the variables!
I'll bet there is a way around it. But it made me so sad.
Yes, regex handling in Perl is the smoothest I have ever seen, and it matched the first description I heard of perl as "the best tool for text processing". I have done big things with that.
My match scopes typically looked like so:
(not tested, just edited by hand to anonymise)
I think it came up more like
For me. I dunno. I was never good at perl. I just wanted to hack something together.
I did bigger parsing tools in perl, so I often matched a lot of expressions and needed them all in variables. Not only to save the $N variables, but also for code readability, I would then store the matches in proper variable names
perl accepts perlin noise as valid perl programs so scope delimiters don't mean much.
So does Python /s
Just create a new file or a top level function
except that it breaks my debugging strategy, where I left-align debug code so I can easily spot it and remove it later.