in reply to or or
Or that's what we call them in mathematics. If you use parentheses around the arguments of a function, I think this would remove any concern over "or" vs. "||".
Like this:
Like this:
Functionality should be identical in the two cases above, no? Of course, this is only for calling of functions or something like that. It doesn't work the same with other above-mentioned examples such asopen(FH, "filename.txt") || die "$!"; # OR open(FH, "filename.txt") or die "$!";
Which is an entirely different sort of thing.$a = $b || $c;
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Grouping Symbols?
by ahunter (Monk) on Jul 08, 2000 at 21:23 UTC | |
RE: Grouping Symbols?
by reptile (Monk) on Jul 08, 2000 at 19:14 UTC |
In Section
Seekers of Perl Wisdom