in reply to Re^3: Perl style: Arguing against three-argument join() (++join '')
in thread Perl style: Arguing against three-argument join()

Nope, because that would come out to A ~= B ~= C ~= D, which would only work if assignment were left associative.
  • Comment on Re^4: Perl style: Arguing against three-argument join() (++join '')

Replies are listed 'Best First'.
Re^5: Perl style: Arguing against three-argument join() (++join '')
by dragonchild (Archbishop) on Jan 25, 2008 at 03:51 UTC
    If attempts to modify a constant item instead created a temporary variable to put it in should it be the RHS, then that would work regardless of associativity.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?