in reply to Re: (SOLVED) parsing problems with prototype blocks (updated)
in thread (SOLVED) parsing problems with prototype blocks (precedence)
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
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|
In Section
Seekers of Perl Wisdom