It is with equal measures of pride and disgust that I'm in work writing perl code that is probably worth of some sort of entry in
The Daily WTF. There again, it's perl, and I'm writing a web interface, of course it's going to be painful to read. I just happen to help the pain with ternary operators.