|
|
| laziness, impatience, and hubris | |
| 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?? |
|
The actual difference between an :lvalue sub and one that isn't returns a copy of the scalar that would otherwise be returned.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||