Cool, that looks very much like what I hoped for, I'll have to have a play to see if I can find a sensible way to record and expose the locations and stacktraces at which the calculations occur.
Getting the information to survive across transitions to string and back may be harder: in fact, I suspect sensible string support will generally be rather harder (eg to extract the interesting information from something like $string = join ', ', @substrings).
I wouldn't have gone for an lvalue derivation(), but I think that's more an issue of personal style.
Thanks,
Hugo
In reply to Re^2: annotation, derivation
by hv
in thread annotation, derivation
by hv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |