in reply to Re^3: Implementing named infix operators with parser hook?
in thread Implementing named infix operators with parser hook?
Since / is only overloaded for that class it doesn't interfere with other parsing "objects".
I doubt it's even possible in Perl to overload operators for unblessed objects like literals or scalar variables.
(unless using the autobox module which hooks into the compiler via XS.)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
---|