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

Re: Not understanding 2 sentences in perldoc

by perlfan (Vicar)
on Jul 29, 2020 at 20:59 UTC ( #11120021=note: print w/replies, xml ) Need Help??

in reply to Not understanding 2 sentences in perldoc

>"Unlike in C, the scalar assignment operator produces a valid lvalue. Modifying an assignment is equivalent to doing the assignment and then modifying the variable that was assigned to."

This means that you can use the product of inner assignment as the left hand side (lvalue) of an outer assignment operator (=), as has been demonstrated.

Replies are listed 'Best First'.
Re^2: Not understanding 2 sentences in perldoc
by Anonymous Monk on Jul 29, 2020 at 21:03 UTC
    Thank you all guys very much! The perl community is the best!
      It is. Sometimes it's a team sport like volleyball, some times it's American Gladiators. Get yourself a real account here, fool.
        Hahahaha I will ;-)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2021-01-22 00:02 GMT
Find Nodes?
    Voting Booth?