Provide utility methods for factory classes
http://search.cpan.org/perldoc?Class::Factory::Util
This module exports a method that is useful for factory classes.
When this module is loaded, it creates a method in its caller named
subclasses(). This method returns a list of the available subclasses for the
package. It does this by looking in @INC as well as the directory containing
the caller, and finding any modules in the immediate subdirectories of the
calling module.
So if you have the modules "Foo::Base", "Foo::Base::Bar", and "Foo::Base::Baz",
then the return value of Foo::Base->subclasses() would be "Bar" and "Baz".
- Devel package for openSUSE:Factory
- Links to openSUSE:Factory / perl-Class-Factory-Util
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Class-Factory-Util && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Class-Factory-Util-1.7.tar.gz | 0000011942 11.7 KB | |
_link | 0000000158 158 Bytes | |
perl-Class-Factory-Util.changes | 0000000883 883 Bytes | |
perl-Class-Factory-Util.spec | 0000001849 1.81 KB |
Revision 3 (latest revision is 7)
Stephan Kulow (coolo)
committed
(revision 3)
Comments 0