in reply to Re: RFC: Object::Proxy (or somesuch)
in thread RFC: Object::Proxy (or somesuch)
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: Object::Proxy (or somesuch)
by perrin (Chancellor) on Nov 19, 2004 at 20:31 UTC | |
by dragonchild (Archbishop) on Nov 19, 2004 at 21:02 UTC | |
by perrin (Chancellor) on Nov 19, 2004 at 23:02 UTC | |
by stvn (Monsignor) on Nov 20, 2004 at 01:40 UTC | |
by jplindstrom (Monsignor) on Nov 19, 2004 at 21:25 UTC | |
by stvn (Monsignor) on Nov 19, 2004 at 21:19 UTC |