Take me over?
The maintainer of this distribution is looking for someone to take over!
If you're interested then please contact them via
email.
NAME
Class::Factory::Util - Provide utility methods for factory classes
SYNOPSIS
package My::Class;
use Class::Util;
My::Class->subclasses;
DESCRIPTION
This module contains methods that are useful for factory classes.
USAGE
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 the library directory containing the caller, and finding any modules in its immediate subdirectories.
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".
AUTHOR
Dave Rolsky, <autarch@urth.org>.
Removed from Alzabo and packaged by Terrence Brannon, <tbone@cpan.org>.