Terrence,
There is also Class::LazyLoad <http://search.cpan.org/~rkinyon/Class-LazyLoad/> which Rob Kinyon and I wrote (actually 99% of it was Rob, I just wrote some of the test suite and added a few features). It is basically meant to be a very very lightweight alternative to things like Object::RealizeLater and Class::LazyObject (speaking of which you should add Class::LazyObject <http://search.cpan.org/~daxelrod/Class-LazyObject/> to your list).
BTW - What's with the Catalog::* namespace? You building something interesting you want to share with the rest of the group? :)
- Steve
On Jan 18, 2005, at 7:02 PM, Terrence Brannon wrote:
I think a list of modules which dynamically load packages and/or create objects at runtime would be useful. Please add any modules that you know of that I overlooked... also feel free to write a comprehensive assessment of these modules (grin).
NAME
Catalog::lazy_loaders - list of all CPAN object/package lazy loaders
DESCRIPTION
A lazy loader allows a program to dynamically (i.e., at run-time, on
demand) load a package. I have seen several such modules make their way
onto CPAN and thought it would be beneficial to have a list of all of
them somewhere.
Ideally the features of these modules would be evaluated, but cataloging
the modules is a valuable first step.
RELATED MODULES * Object::RealizeLater by Mark Overmeer <http://search.cpan.org/dist/Object-Realize-Later/>
* Class::Autouse by Adam Kennedy <http://search.cpan.org/~adamk/Class-Autouse-1.14/>
* AnyLoader by Michael Schwern <http://search.cpan.org/search?dist=anyloader>
* Class::Loader by Vipul Ved Prakash <http://search.cpan.org/dist/Class-Loader/>
Note: this module got slagged on cpan ratings:
<http://cpanratings.perl.org/d/Class-Loader>
* load by Elizabeth Mattijsen <http://search.cpan.org/dist/load>
* Module::Load::Conditional by Jos Boumans <http://search.cpan.org/dist/Module-Load-Conditional>
* Class::Dynamic by Simon Cozens <http://search.cpan.org/dist/Class-Dynamic>
* require
I suppose require in the Perl core deserves an honorable mention.
SEE ALSO For further discussion of this topic, please comment at the Perl software design mailing/GMANE list:
<http://www.metaperl.com/sw-design>
AUTHOR Terrence Brannon, <[EMAIL PROTECTED]>
COPYRIGHT AND LICENSE Copyright (C) 2005 by Terrence Brannon
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself, either Perl version 5.8.4 or, at
your option, any later version of Perl 5 you may have available.
-- Carter's Compass: I know I'm on the right track when, by deleting something, I'm adding functionality.
_______________________________________________ sw-design mailing list [email protected] http://metaperl.com/cgi-bin/mailman/listinfo/sw-design
_______________________________________________ sw-design mailing list [email protected] http://metaperl.com/cgi-bin/mailman/listinfo/sw-design
