Well ... besides the classic critique of use CGI and a look-up table will be easier on the eyes in the longrun ... I think you need to look at perlop and the difference between == and eq.
-derby
Comment on Re: Untaint variables not working, IF statements.