Pangloss::Application::UserEditor - user editor app for Pangloss.
use Pangloss::Application::UserEditor; my $editor = new Pangloss::Application::UserEditor(); my $view0 = $editor->list(); my $view1 = $editor->add( $user ); my $view2 = $editor->get( $key ); my $view3 = $editor->update( $key, $user ); my $view4 = $editor->remove( $key ); my $view5 = $editor->list_translators(); my $view6 = $editor->list_proofreaders();
This class implements a user editor application for Pangloss.
Inherits from Pangloss::Application::CollectionEditor.
The user editor maintains a list of removed users (which may eventually be moved to its own editor class, or removed entirely due to lack of purpose).
sets $view->{translators} to a list of users that can translate. As a side-effect, the users collection is listed in the view if not already present.
sets $view->{proofreaders} to a list of users that can proofread. As a side-effect, the users collection is listed in the view if not already present.
Steve Purkis <spurkis@quiup.com>
Pangloss, Pangloss::User
To install Pangloss, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pangloss
CPAN shell
perl -MCPAN -e shell install Pangloss
For more information on module installation, please visit the detailed CPAN module installation guide.