The actual difference between an :lvalue sub and one that isn't returns a copy of the scalar that would otherwise be returned.
In reply to Re^7: can sub check context for lvalue vs rvalue context?
by ikegami
in thread can sub check context for lvalue vs rvalue context?
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |