| Class-Composite documentation | Contained in the Class-Composite distribution. |
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.
| Class-Composite documentation | Contained in the Class-Composite distribution. |
package Class::Composite::Element; use strict; use warnings::register; use base qw ( Class::Composite ); our $VERSION = 0.1; 1; __END__