./devel/p5-Class-Factory [automates the Factory design pattern]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 1.06, Package name: p5-Class-Factory-1.06
Maintained by: The OpenBSD ports mailing-list
Master sites:
Description
Class::Factory - Base class for dynamic factory classes

package My::Factory;

use strict;
use base qw( Class::Factory );

# Add our default types

My::Factory->add_factory_type( perl => 'My::Factory::Perl' );
My::Factory->add_factory_type( blech => 'My::Factory::Blech' );

1;

# Create new objects using the default types

my $perl_item = My::Factory->new( 'perl', foo => 'bar' );
my $blech_item = My::Factory->new( 'blech', foo => 'baz' );


Filesize: 11.38 KB
Version History (View Complete History)
  • (2014-12-17) Updated to version: p5-Class-Factory-1.06
  • (2010-04-15) Updated to version: p5-Class-Factory-1.02p0
  • (2007-04-13) Package added to openports.se, version p5-Class-Factory-1.02 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2016-03-20 13:57:24 by Christian Weisgerber | Files touched by this commit (1617)
Log message:
Remove SHARED_ONLY from all CPAN Perl ports and the cpan and perl MODULES.
Add WANTLIB+=perl and PKG_ARCH=* as appropriate.
   2014-12-17 07:05:07 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Class-Factory-1.06.
ok ajacoutot@
   2014-12-17 07:05:07 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Class-Factory-1.06.
ok ajacoutot@
   2010-12-03 04:44:38 by Antoine Jacoutot | Files touched by this commit (627)
Log message:
Bump after recent cpan.port.mk change.
ok jasper@
   2010-10-18 11:48:13 by Marc Espie | Files touched by this commit (650)
Log message:
USE_GROFF=Yes
   2010-07-13 13:46:13 by Stuart Henderson | Files touched by this commit (157)
Log message:
use REVISION
   2010-04-15 07:56:35 by Antoine Jacoutot | Files touched by this commit (110)
Log message:
Consistency: remove the 1, 2 or even 3 empty blank lines.
   2010-04-15 07:56:35 by Antoine Jacoutot | Files touched by this commit (110)
Log message:
Consistency: remove the 1, 2 or even 3 empty blank lines.
   2007-09-15 20:53:14 by Michael Erdely | Files touched by this commit (599)
Log message:
Remove quotes surrounding COMMENT*/PERMIT_*/BROKEN
   2007-04-05 09:38:13 by Marc Espie | Files touched by this commit (1270)
Log message:
base64 distinfo with SHA256