Thanks everyone. I had somewhere concluded that = was for numbers only, which made me look elsewhere for eq.
Re: Uppercase/Lowercase - I had stripped out the uc($var) bits but I forgot to tell you :( At somepoint there will be @ARGV checking, but I'm working my way slowly up!
-
Flubb