Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^7: can sub check context for lvalue vs rvalue context?

by ikegami (Patriarch)
on May 11, 2018 at 19:51 UTC ( [id://1214398]=note: print w/replies, xml ) Need Help??


in reply to Re^6: can sub check context for lvalue vs rvalue context?
in thread can sub check context for lvalue vs rvalue context?

The actual difference between an :lvalue sub and one that isn't returns a copy of the scalar that would otherwise be returned.

  • Comment on Re^7: can sub check context for lvalue vs rvalue context?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found