Suppose I tie() a variable. Is it possible from the FETCH handler to get my hands on the tied variable (!not the object implementing it, the actual variable!), untie it and store the result there?
This would be really handy in the Data::Lazy module. Currently when you FETCH the value of the scalar variable the first time it computes the value, stores it in the object, returns it and then it behaves exactly as an ordinary variable. Except that it's still tied and therefore much slower :-(
Thanks, Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
In reply to How to untie oneself? by Jenda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |