NAME

Pangloss::Terms - a collection of Pangloss terms.

SYNOPSIS

use Pangloss::Terms;
my $terms = new Pangloss::Terms();

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

DESCRIPTION

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

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

METHODS

@names = $obj->names

synonym for $obj->keys()

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss, Pangloss::Collection, Pangloss::Term, Pangloss::Term::Error