Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

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


in reply to can sub check context for lvalue vs rvalue context?

An :lvalue sub always returns an a lvalue, whether its called in lvalue context or not.

  • Comment on Re: 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://1214360]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-19 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found