Class::Composite::Element - Element of a Collection::Container
use Class::Composite::Element; use Class::Composite::Container; my $element = Class::Composite::Element->new(); my $collection = Class::Composite::Container->new(); $collection->addElement( $elem );
Used to differenciate elements from containers within a collection
Class::Composite
None
Class::Composite, Class::Composite::Container
"Pierre Denis" <pdenis@fotango.com>
Copyright (C) 2002, Fotango Ltd. All rights reserved.
This is free software. This software may be modified and/or distributed under the same terms as Perl itself.
To install Class::Composite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Composite
CPAN shell
perl -MCPAN -e shell install Class::Composite
For more information on module installation, please visit the detailed CPAN module installation guide.