in reply to
Re^2: Mad, bad and dangerous to know
in thread Mad, bad and dangerous to know
I seen worse, the guy whose code that I took over in my last position had a 500 line if-elsif-else loop. No notes, no documentation, and a lot of it went beyond 100 characters per line (so I cannot even print it out to make it readable). That is BAD PERL CODE.
A lot of perl code is bad perl code.
I've seen 500+ line loops in about 30% of the perl code I see. The lack of use strict is worse. No one writes tests; unit or otherwise. Documentation is restricted to crypic comments in the source than often guard against conditions that no longer apply, or are flat out wrong.
It's easy to blame the coders, but management let it into production in that state...