lvalueed subroutines do not know what the rvalue is - if any.
They do not need to know either; what they should do is return
something that can be used as an lvalue.
I don't think it's easy to mimic substr without using substr,
although you might get away with a tied variable.
Abigail
Comment on Re: Recreation of lvalue substr function using lvalue subroutines