Every once in a while, I run into an old piece of code that I wrote and I have to laugh. I just grabbed a piece of perl code and I found this lovely snippet: if(!$res){ ##error handling print "got a fucking error!\n"; } else { Code (markup): Gotta love those late nights. Anyhow, I thought it would be fun to start a topic where people shared their own snippets that probably should have ended up getting deleted.