Nigel Wetters Gourlay > DesignPattern-Factory-0.01 > DesignPattern::Factory::Product

Download:
DesignPattern-Factory-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

DesignPattern::Factory::Product - a participant in the Perl implementation of the Factory Method.

DESCRIPTION ^

DesignPattern::Factory::Product is the superclass of DesignPattern::Factory::ConcreteProduct. That is, ConcreteProduct inherits all methods from Product, but can override these methods by implementing its own methods.

DesignPattern::Factory::Product defines the interface of objects the factory method creates.

new()

Constructor for this class. Usage:

  my $object = DesignPattern::Factory::Product->new();

AUTHOR ^

Nigel Wetters (nwetters@cpan.org)

COPYRIGHT ^

Copyright (c) 2001, Nigel Wetters. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.