Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: (SOLVED) parsing problems with prototype blocks (updated)by LanX (Saint) |
on Nov 03, 2021 at 16:44 UTC ( [id://11138393]=note: print w/replies, xml ) | Need Help?? |
On a similar note, I was once experimenting with constants (i.e. sub(){value} with empty prototype) returning objects with overloaded operators. I got bitten by the fact that < was interpreted as the start of of a diamond operator, leading to a compilation error. (I showed this here, but can't find the thread ATM)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|