in reply to Re: BUG when parsing defined-or ?
in thread BUG when parsing defined-or ?
this shouldn't be!
The prototype is explicitly declaring that only one value (i.e. the block) is passed to the sub.
> as there is no lvalue to a binary operator, it crunches.
|| is a binary operator too and according to perldoc it has the same precedence.
and as demonstrated || works as expected.
Simply phrased: please explain: why || and not //.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|