NAME

Pangloss::Users - a collection of Pangloss users.

SYNOPSIS

use Pangloss::Users;
my $users = new Pangloss::Users();

try {
    my $user = $users->get( $userid );
    $users->add( $user );
    $users->remove( $user );
    do { ... } foreach ( $users->list );
} catch Pangloss::User::Error with {
    my $e = shift;
    ...
}

DESCRIPTION

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

The collection is keyed on $user->id().

METHODS

@user_ids = $obj->ids

synonym for $obj->keys()

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss, Pangloss::Collection, Pangloss::User, Pangloss::User::Error