|
|
| more useful options | |
| 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?? |
|
An :lvalue sub always returns an a lvalue, whether its called in lvalue context or not.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||