Steve Purkis > Pangloss > Pangloss::Concepts

Download:
Pangloss-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Pangloss::Concepts - a collection of Pangloss concepts.

SYNOPSIS ^

  use Pangloss::Concepts;
  my $concepts = new Pangloss::Concepts();

  try {
      my $concept = $concepts->get( $name );
      $concepts->add( $concept );
      $concepts->remove( $concept );
      do { ... } foreach ( $concepts->list );
  } catch Pangloss::Concept::Error with {
      my $e = shift;
      ...
  }

DESCRIPTION ^

This class contains a collection of Pangloss::Concept objects. It inherits its interface from Pangloss::Collection.

The collection is keyed on $concept->name().

METHODS ^

@names = $obj->names

synonym for $obj->keys()

AUTHOR ^

Steve Purkis <spurkis@quiup.com>

SEE ALSO ^

Pangloss, Pangloss::Collection, Pangloss::Concept, Pangloss::Concept::Error

syntax highlighting: