PerlBean::Collection

PerlBean::Collection is a Perl module that contains a collection of PerlBean objects.
Download

PerlBean::Collection Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Vincenzo Zocca
  • Publisher web site:
  • http://search.cpan.org/~zoccav/HH-Unispool-Config-0.3/lib/HH/Unispool/Config/File/Token/Unnumbered/Bcs.pm

PerlBean::Collection Tags


PerlBean::Collection Description

PerlBean::Collection is a Perl module that contains a collection of PerlBean objects. PerlBean::Collection is a Perl module that contains a collection of PerlBean objects.SYNOPSIS use strict; use PerlBean; use PerlBean::Collection; use PerlBean::Attribute::Factory; my $bean = PerlBean->new( { package => 'Athlete', } ); my $factory = PerlBean::Attribute::Factory->new(); my $attr = $factory->create_attribute( { method_factory_name => 'name', short_description => 'the name of the athlete', } ); $bean->add_method_factory($attr); my $bean2 = PerlBean->new( { package => 'Cyclist', base => , } ); my $factory = PerlBean::Attribute::Factory->new(); my $attr2 = $factory->create_attribute( { method_factory_name => 'cycle', short_description => 'the cyclist's cycle', } ); $bean2->add_method_factory($attr2); my $collection = PerlBean::Collection->new(); $collection->add_perl_bean($bean); $collection->add_perl_bean($bean2); $collection->write('tmp');ABSTRACTCode hierarchy generation for bean like Perl modulesPerlBean::Collection contains a collection of PerlBean objects in order to generate an hierarchy of Perl modules. Requirements: · Perl


PerlBean::Collection Related Software