Pangloss::Term::Status - the status of a term.
use Pangloss::Term::Status; my $status = new Pangloss::Term::Status(); $status->pending() ->notes( $text ) ->creator( $user ) ->date( time ); do { ... } if $status->is_pending();
This class represents a status associated with a term. It inherits from Pangloss::StoredObject::Common.
The following flags are available as class variables:
PENDING APPROVED REJECTED DEPRECATED
They are also available as a hash with lowercase keys via $class->status_codes.
internal method to set/get status code.
set this status code to one of the above. At present, multiple flags can only be set (ie: approved | deprecated) by setting $obj->code directly.
test if this status code is one of the above.
Steve Purkis <spurkis@quiup.com>
Pangloss::Term
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.