on Mon, 12 Aug 2002 07:32:48 GMT, [EMAIL PROTECTED] (Javeed Sar) wrote: > I want the if statement to compare this also: > (($var5 == "Soarian_Context_Sensitive_Coordination_File") | > ($var5 == > "comEPRHelp") | ($var5 == > "CDMS_Context_Sensitive_Coordination_File") |
If you want to compare strings, you should use 'eq' instead of '==': if ($name eq 'Javeed') { # Do something } -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]