in reply to Re: How to write better code?in thread How to write better code?
otherwise, what you've written is fairly good, idiomatic perl
It's pretty decent perl but it's lousy cgi param parsing: