Also, with this module you can lazy load something on an instance basis as well, most all the other options only allow class level deferment. You load instances like this:
The $instance variable is now a lazy-loader object which will only inflate when you touch it. One of my big goals for this was to be as non-invasive as possible.my $instance = Class::Plugin::LazyLoad->proxy_instance('My::Class', @c +onstructor_args);
In reply to Re^2: RFC: Object::Proxy (or somesuch)
by stvn
in thread RFC: Object::Proxy (or somesuch)
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |