in reply to Re: or or
in thread or or
>or is almost always what you mean in these cases. |
This is largely a matter of programming style, and the nature of the project, not something inherent to Perl. I find myself using || about ten times as often as or.
Because most of my program data is non-zero, I find myself using a lot of things like:
$param = $value || $default;
OTOH, maybe I am using too many if/else blocks...
Paris Sinclair | 4a75737420416e6f74686572 pariss@efn.org | 205065726c204861636b6572 I wear my Geek Code on my finger.
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: RE: Re: or or
by ahunter (Monk) on Jul 09, 2000 at 01:57 UTC | |
by Aighearach (Initiate) on Jul 09, 2000 at 08:49 UTC |