How about just naming the thing Object::LazyConstructor if that's what it really is. You defer loading the module and you defer calling the object constructor. You've more potential gain from deferring object constructors than a load of more mere perl code. That is, if you are creating lots of objects that have expensive constructors.
Show us an example of the code you wished you had this feature for. Please.
In reply to Re^5: RFC: Object::Proxy (or somesuch)
by diotalevi
in thread RFC: Object::Proxy (or somesuch)
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |