Ironically, the part of Perl that looks most cursing is the regular expressions, and that’s the feature that so many modern languages have borrowed from Perl directly.
I primarily use perl, and while I find its syntax easy to understand, I'll be the first to admit that its syntax and special use cases thereof does provide a way for some rather exotic symbol-garbage to be valid code.
Normal perl code is simple enough. But abnormal code does happen, sometimes on purpose, sometimes by accident.
I'll share with you this gem:
Why is this program valid? I was trying to create a syntax error
"Vocational skills?" I was coding for fun since I was eight. Granted, I eventually turned the poor conversion of programs from 3-2-1 Contact! magazine into a lucrative career, but when I was young, it inhabited the same space as LEGO and reading novels under the covers too late.
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.