Ick. PerlMUD's code is poor. I've been perusing it for about 5min and I've already found 3 bugs and about 300 style violations, not to mention a simple refactoring would make it about 10x more efficient. Its near-complete lack of CPAN-usage looks to be a misguided attempt to be compatible back to 5.001 (as its documentation states). I mean, do you really need 5k CLOC to implement a rather basic client-server app in Perl?
Update: After a /msg discussion with sauoq, we've come to the conclusion that I mispoke when I said and about 300 style violations. Instead, I should have said "and about 300 things that make it utterly nauseating to read and very dangerous to modify." This is because he pointed out that there is no universally accepted style guide for writing Perl code, other than what perl says is ok, and I agree.
That said, please follow this idea at Commonly accepted style guide?.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?