in reply to String comparison

Well "STRING" is equivalent to "STRING". To test string equality you need to use eq ie.
if($string1 eq $string2){print "Yippee!"}
== only works for numbers

Tim Vroom | vroom | vroom@cs.hope.edu