Of course if you want a proxy that just "intercepts" some method calls and forwards most of the rest, you could just inherit from the class you're trying to proxy.
In the lazy-load case I want to ensure that the real object is loaded before forwarding, so it's not that simple.
In reply to Re^2: object swizzling?
by perl5ever
in thread object swizzling?
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |