![]() |
|
There's more than one way to do things | |
PerlMonks |
Re^2: Scalar refs, aliasing, and recursion weirdness.by BrowserUk (Patriarch) |
on Feb 04, 2005 at 23:33 UTC ( [id://428246]=note: print w/replies, xml ) | Need Help?? |
I think you may have hit the nail on the head. It would appear that if you modify an lvalue ref, it gets converted to a normal scalar before the modification. Which is annoying and counter-intuative (to me anyway), but maybe work that would be involved in allowing the underlying scalar to be modified through a substring of an lvalue ref is too complicated? Maybe I will have to code my own lvalue-ref-on-steroids to achieve my purpose? Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.
In Section
Seekers of Perl Wisdom
|
|