Regarding your updates, the custom op stuff isn't what you want. It doesn't allow you to define your own infix operators. The custom op stuff is what Ref::Util::XS does to make its functions even faster.
Subs written in XS run faster than subs written in Perl; that's obvious. But subs written in XS still don't run as fast as Perl built-ins like ref. The custom op code stuff allows XS code to be called as efficiently as built-ins. It doesn't have anything to do with parsing, so won't let you define an infix operator.
In reply to Re: Implementing named infix operators with parser hook?
by tobyink
in thread Implementing named infix operators with parser hook?
by LanX
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |