in reply to Create a new operator, get LHS
Could you please be more specific and provide some use cases?
Binary operators are difficult even with overloading, but something like
from {List} $scalar
could be easily done with prototypes. ( i.e. sub from (&$) {...} )
Btw: how does Python compare? == or eq ?
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|