It would be interesting to see if there could be a relatively standard namespace for doing pure documentation packages. There is already thoughts traveling around a few people's heads about how to tie things other than code into the namespace.
Doc::Catalog::DelayedLoading
... something like that comes to mind. Doc:: is at least currently empty, unlike Catalog.
But I'd want to bounce the idea of using Doc:: off of modules@ first.
In other news, I'm also doing a little research into tying data to the perl namespace.
Early days yet, I have a few other projects that are higher priority. But you may be interested in it.
See Data::Package for my first stab at the very VERY base functionality.
Adam
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.
_______________________________________________ sw-design mailing list [email protected] http://metaperl.com/cgi-bin/mailman/listinfo/sw-design
