summaryrefslogtreecommitdiff
path: root/devel/p5-Class-Factory
AgeCommit message (Collapse)AuthorFilesLines
2005-02-23Add RMD160 digests.agc1-1/+2
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
2004-11-29Update to 1.03, provided by Hiramatsu Yoshifumi in PR 28463.wiz2-5/+5
Changes since 1.00: - Added 'get_my_factory()' and 'get_my_factory_type()' - Ensure that new() returns undef if get_factory_class() doesn't work properly and factory_error() is overridden (and the overridden method doesn't die) - Added a few more tests to ensure factory_log() and factory_error() working properly - add_factory_type() checks %INC to see if a class is already loaded. - All log/error messages now have variables in apostrophes rather than brackes.
2004-10-23Import p5-Class-Factory from pkgsrc-wip. Packaged by Hiramatsu Yoshifumi.minskim4-0/+31
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.