Daniel Ruoso asked:

>> &prefix:<[+]>
> Is that really? I mean... [ ] is a meta-operator,

Sure. But once you "[]-meta" an infix operator, you get a prefix operator.
See http://perlcabal.org/syn/S03.html#Reduction_operators, which states:

    "Any infix operator (except for non-associating operators) can
     be surrounded by square brackets in term position to create a
     list operator"

and has an example of actually implementing the &prefix:<[+]> operator.


Reply via email to