LogoopenSUSE Build Service > Projects
Sign Up | Log In

Provide utility methods for factory classes

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".
  

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions
Class-Factory-Util-1.7.tar.gz 11.7 KB almost 11 years ago Download File
perl-Class-Factory-Util.changes 1022 Bytes over 6 years ago Download File
perl-Class-Factory-Util.spec 1.8 KB over 6 years ago Download File

Comments for home:lnt-sysadmin:web-support:koha (0)