Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: (SOLVED) parsing problems with prototype blocks (precedence)by LanX (Saint) |
on Nov 03, 2021 at 16:25 UTC ( [id://11138391]=note: print w/replies, xml ) | Need Help?? |
UPDATE: I may have misunderstood your post, and FIXED is meant as workaround.
> Fixed: ( foo {$Q} ) + foo {$t} no, it's not, because this was what I expected. > + is treated as the unary operator, so And it would be binary
updateFWIW I chose + for an example which at least compiles b/c of the ambiguity.I originally used / which fails without having any unary meaning (it's seen as the start of a m//)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|