NAME
Pangloss::Categories - a collection of Pangloss categories.
SYNOPSIS
use Pangloss::Categories;
my $categories = new Pangloss::Categories();
try {
my $category = $categories->get( $name );
$categories->add( $category );
$categories->remove( $category );
do { ... } foreach ( $categories->list );
} catch Pangloss::Category::Error with {
my $e = shift;
...
}
DESCRIPTION
This class contains a collection of Pangloss::Category objects. It inherits its interface from Pangloss::Collection.
The collection is keyed on $category->name().
METHODS
AUTHOR
Steve Purkis <spurkis@quiup.com>
SEE ALSO
Pangloss, Pangloss::Collection, Pangloss::Category, Pangloss::Category::Error