Possible solution: Make the object act as a tied hash, which can be interpolated. When a property being set or got requires special processing do it, otherwise just set/get the value in the ordinary, blessed object hash ref. Let ordinary methods work as usual.
Has anybody tried this yet? Can it even be done? What pitfalls might lie in the way?
In reply to bless + tie by cbraga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |