in reply to Re: Mixing OR with conditional operator
in thread Mixing OR with conditional operator
Choroba,
I have variables in my real code, I just thought I would simplify it as much as possible.
Actually I first wrote an example just like your last example. But I didn't think my 'simplification' would actually change the whole behavior!
OT: The current "Voting Booth"-question "In order to be able to say "I know Perl", you must have:", with the leading answer "One can never truly know perl", are totally correct ;-)
Edit: And yes, your last one liner code-example, fixes the issue and I will adopt that syntax!
Thank you!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mixing OR with conditional operator
by LanX (Saint) on Nov 19, 2017 at 12:41 UTC |