Re: or operator

2003-09-17 Thread zsdc
Nigel Peck - MIS Web Design wrote: Sorry for the delay in responding. The Perl 6 format is what I was thinking, just have to wait for that :) For more info about Perl 6 syntax, see http://dev.perl.org/ Quantum::Superpositions sounds pretty cool. It's very cool. Every scalar can be in superpositi

RE: or operator

2003-09-03 Thread Nigel Peck - MIS Web Design
From: zsdc [mailto:[EMAIL PROTECTED] > Sent: 30 August 2003 18:16 > To: Nigel Peck - MIS Web Design > Cc: [EMAIL PROTECTED] > Subject: Re: or operator > > > Nigel Peck - MIS Web Design wrote: > > > In Perl can I say: > > > > if this = that or that or tha

Re: or operator

2003-08-30 Thread zsdc
Nigel Peck - MIS Web Design wrote: In Perl can I say: if this = that or that or that instead of saying: if this = that or this = that or this = that Not yet, but good point. In Perl 6 you'll be able to write: if $x == 1|2|7 but now there's only: if $x == 1 or $x == 2 or $x == 7 Maybe yo

Re: or operator

2003-08-29 Thread Rob Dixon
Nigel Peck wrote: > > In Perl can I say: > > if this = that or that or that > > instead of saying: > > if this = that or this = that or this = that No. What do you want? if ($this == $that) { : } elsif ($this == $that) { : } elsif ($this == $that) { : } else { : }

RE: or operator

2003-08-29 Thread Paul Kraus
Typeo should be $my not #my -Original Message- From: Paul Kraus [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 1:55 PM To: 'Nigel Peck - MIS Web Design'; [EMAIL PROTECTED] Subject: RE: or operator If ($my eq $this) || (#my eq $this2) { code; }else{

RE: or operator

2003-08-29 Thread Paul Kraus
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

or operator

2003-08-29 Thread Nigel Peck - MIS Web Design
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 PR

[OT] and/or operator

2001-06-07 Thread Michael Fowler
On Thu, Jun 07, 2001 at 06:39:32PM -0400, Travis Smith wrote: > > Either you or I (or maybe both us) have a really dirty mind. > > > Isn't that like: > (true != 0) Nope, that's ($you || $I || ($you && $I)), which reduces to simply ($you || $I). > Y