If ($my eq $this) || (#my eq $this2) {
        code;
}else{
        more code;
}

HTH

-----Original Message-----
From: Nigel Peck - MIS Web Design [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 1:50 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: or operator


In Perl can I say:

if this = that or that or that

instead of saying:

if this = that or this = that or this = that

Cheers,
Nigel

Managing Director
MIS Web Design
http://www.miswebdesign.com/

Administrator
AccessifyForum.com
http://www.accessifyforum.com/ 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to