if ( $x =~ /^(X|Y|Z)$/ ) # anyone got better? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 2:34 PM To: [EMAIL PROTECTED] Subject: Comparing to many possibles
Greetings; Is there some perl shorthand that will make it easier to say if ( $x eq 'X' || $x eq 'Y' || $x eq 'Z' ) TIA, Dennis -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]