Perl Module Basics
Sam Tregar · Apress eBooks · 2002
Spaghetti code—if you don’t know what it means, you’re probably writing it. Spaghetti code gets its name from the numerous and thoroughly knotted paths your program takes through its source code. In the classic case, every subroutine in the program will call every other subroutine at least once (if there are subroutines—goto is marinara for spaghetti code). Nothing is commented, or if it is, then the comments are misleading. Executable code is mixed in with subroutine declarations at random. Basically, it’s your worst nightmare.