Class-Factory module for perl
Class-Factory module for perl
This is a simple module that factory classes can use to generate new types of
objects on the fly, providing a consistent interface to common groups of objects.
Factory classes are used when you have different implementations for the same set
of tasks but may not know in advance what implementations you will be using.
Configuration files are a good example of this. There are four basic operations
you would want to do with any configuration: read the file in, lookup a value,
set a value, write the file out. There are also many different types of
configuration files, and you may want users to be able to provide an
implementation for their own home-grown configuration format.
Authors: Fred Moyer
is the current maintainer.
Chris Winters
Eric Andreychek
implemented overridable log/error capability and
prodded the module into a simpler design.
Srdjan Jankovic
contributed the idea for 'get_my_factory()' and 'get_my_factory_type()'
Sebastian Knapp
contributed the idea for 'get_registered_class()'
Marcel Gruenauer
contributed the methods 'remove_factory_type()'
and 'unregister_factory_type()'.
-------------------------------------------------------------------------------
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Class-Factory && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Class-Factory-1.06.tar.gz | 0000011653 11.4 KB | |
perl-Class-Factory.changes | 0000001018 1018 Bytes | |
perl-Class-Factory.spec | 0000003084 3.01 KB |
Latest Revision
always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
Comments 0