225
93% of Paint Splatters are Valid Perl Programs
(0x2121.com)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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