Pangloss::Application::TermEditor - term editor app for Pangloss.
use Pangloss::Application::TermEditor; my $editor = new Pangloss::Application::TermEditor(); my $view0 = $editor->list(); my $view1 = $editor->list_status_codes(); my $view2 = $editor->add( $term ); my $view3 = $editor->get( $key ); my $view4 = $editor->modify( $key, $new_term ); my $view5 = $editor->modify_status( $key, $new_status ); my $view6 = $editor->remove( $key );
This class implements a term editor application for Pangloss.
Inherits from Pangloss::Application::CollectionEditor.
sets $view->{status_codes} to a hash of available status codes:
pending approved rejected deprecated
modifies the status of the term specified by $key, and sets $view->{term} $view->{modify}->{term}, $view->{term}->status->{modified}.
Steve Purkis <spurkis@quiup.com>
Pangloss, Pangloss::Term, Pangloss::Term::Status
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.