| Pangloss documentation | view source | Contained in the Pangloss distribution. |
Pangloss::Concepts - a collection of Pangloss concepts.
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;
...
}
This class contains a collection of Pangloss::Concept objects. It inherits its interface from Pangloss::Collection.
The collection is keyed on $concept->name().
synonym for $obj->keys()
Steve Purkis <spurkis@quiup.com>
| Pangloss documentation | view source | Contained in the Pangloss distribution. |