Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   OK, so what's the different between OR and || in conditions? (http://www.velocityreviews.com/forums/t903911-ok-so-whats-the-different-between-or-and-in-conditions.html)

detz 07-20-2007 01:45 PM

OK, so what's the different between OR and || in conditions?
 
OK, so what's the different between OR and || in conditions? I've
never been given a clear answer to this.


Jürgen Exner 07-20-2007 02:14 PM

Re: OK, so what's the different between OR and || in conditions?
 
detz wrote:
> OK, so what's the different between OR and || in conditions? I've
> never been given a clear answer to this.


They have different priority. Details see "perldoc perlop".

jue



anno4000@radom.zrz.tu-berlin.de 07-20-2007 03:12 PM

Re: OK, so what's the different between OR and || in conditions?
 
Jürgen Exner <jurgenex@hotmail.com> wrote in comp.lang.perl.misc:
> detz wrote:
> > OK, so what's the different between OR and || in conditions? I've
> > never been given a clear answer to this.

>
> They have different priority. Details see "perldoc perlop".


....apart from the fact the Perl doesn't have an "OR" operator.

Anno

detz 07-20-2007 04:15 PM

Re: OK, so what's the different between OR and || in conditions?
 
On Jul 20, 11:12 am, anno4...@radom.zrz.tu-berlin.de wrote:
> Jürgen Exner <jurge...@hotmail.com> wrote in comp.lang.perl.misc:
>
> > detz wrote:
> > > OK, so what's the different between OR and || in conditions? I've
> > > never been given a clear answer to this.

>
> > They have different priority. Details see "perldoc perlop".

>
> ...apart from the fact the Perl doesn't have an "OR" operator.
>
> Anno


There's always one smart-ass in the crowd..that's for nothing.


anno4000@radom.zrz.tu-berlin.de 07-20-2007 04:54 PM

Re: OK, so what's the different between OR and || in conditions?
 
detz <ryandetzel@gmail.com> wrote in comp.lang.perl.misc:
> On Jul 20, 11:12 am, anno4...@radom.zrz.tu-berlin.de wrote:
> > Jürgen Exner <jurge...@hotmail.com> wrote in comp.lang.perl.misc:
> >
> > > detz wrote:
> > > > OK, so what's the different between OR and || in conditions? I've
> > > > never been given a clear answer to this.

> >
> > > They have different priority. Details see "perldoc perlop".

> >
> > ...apart from the fact the Perl doesn't have an "OR" operator.
> >
> > Anno

>
> There's always one smart-ass in the crowd..that's for nothing.


It does make a difference, so it ought to be mentioned.

Anno

Dr.Ruud 07-21-2007 04:52 PM

[OT] (was: Re: OK, so what's the different between OR and || in conditions?)
 
detz schreef:
> anno:
>> Jürgen Exner:
>>> detz:


>>>> OK, so what's the different between OR and || in conditions?
>>>> I've never been given a clear answer to this.
>>>
>>> They have different priority. Details see "perldoc perlop".

>>
>> ...apart from the fact the Perl doesn't have an "OR" operator.

>
> There's always one smart-ass in the crowd..that's for nothing.


*PLONK*

--
Affijn, Ruud

"Gewoon is een tijger."



All times are GMT. The time now is 01:12 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57