Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Perl style: Arguing against three-argument join() (++join '')

by TimToady (Parson)
on Jan 25, 2008 at 00:17 UTC ( [id://664177]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://664177]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found