in reply to Re^2: RFC: "assignary" operator ?= : ( source Filter::PPI::Transform )
in thread RFC: "assignary" operator ?= :

Good luck implementing an infix operator with that.

(I've tried.)

  • Comment on Re^3: RFC: "assignary" operator ?= : ( source Filter::PPI::Transform )

Replies are listed 'Best First'.
Re^4: RFC: "assignary" operator ?= : ( source Filter::PPI::Transform )
by LanX (Saint) on Dec 11, 2019 at 16:13 UTC
    > Good luck implementing an infix

    I wouldn't try to do this.

    Function like operators are good enough for me.

    tass $bar => this, that;

    Trinitarian assign is a bad name though.

    See also a "slow" implementation here

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice