You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <sb...@iname.com> on 2000/02/24 17:33:52 UTC

[OT] Re: Perl question...

On Thu, 24 Feb 2000, Victor Zamouline wrote:

> > As more readable alternatives to &&, ||, and !, Perl provides the and, or
> > and not operators. The behavior of these operators _IS IDENTICAL_ - in
> > particular, they short-circuit the same way.
> 
> I guess their _behavior_ is identical but their _precedence_ is not the
> same.

That's correct!

Just please attach the [OT] tag for off-topic questions, even if the
original poster has ignored the advice. I beleive that with a little
effort of all of us educating ourselves and users we will have the best
mailing list ever :)

  
> I think that
> 
> my $test3 = $test1 or $test2
> 
> is interpreted as
> 
> (my $test3 = $test1) or $test2
> 
> so you should try
> 
> my $test3 = ($test1 or $test2)
> 
> Victor.
> 
> 



_______________________________________________________________________
Stas Bekman    mailto:sbekman@iname.com      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com


On-topic reply to [OT] question...

Posted by "G.W. Haywood" <ge...@jubileegroup.co.uk>.
Hi there,

On Thu, 24 Feb 2000, Rodney Broom (OE) wrote:

> "OT", I haven't heard this. On the topic of being off-topic, is there a
> standard parlance that folks use in this list? FAQs to read? Standard
> mod_perl docs that folks usually forget to check first?
> 
> I could used the first question answered, but I think that alot of the rest
> of us could use the latter as well.

/usr/local/mod_perl/SUPPORT

73,
Ged.



Re: [OT] Re: Perl question...

Posted by "Rodney Broom (OE)" <rb...@home.com>.
----- Original Message -----
From: "Stas Bekman" <sb...@iname.com>
> Just please attach the [OT] tag for off-topic questions, even if the
> original poster has ignored the advice. I beleive that with a little
> effort of all of us educating ourselves and users we will have the best
> mailing list ever :)

"OT", I haven't heard this. On the topic of being off-topic, is there a
standard parlance that folks use in this list? FAQs to read? Standard
mod_perl docs that folks usually forget to check first?

I could used the first question answered, but I think that alot of the rest
of us could use the latter as well.

Rodney