Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: What does ".=" mean?

by bart (Canon)
on Apr 01, 2013 at 09:48 UTC ( #1026451=note: print w/ replies, xml ) Need Help??


in reply to What does ".=" mean?

It's one example of the generalisation of operators like +=: $x OP= $y; is the same as $x = $x OP $y;, where OP can be most of the common binary operators (meaning operators with 2 arguments, one on each side of the operator). So $x .= $y; is the same as $x = $x . $y;

See Assignment Operators in perlop.


Comment on Re: What does ".=" mean?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-07-04 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls