| Pangloss documentation | Contained in the Pangloss distribution. |
Pangloss::Segment::ListTerms - list terms.
$pipe->add_segment( Pangloss::Segment::ListTerms->new )
Uses the pangloss term editor app to load a list of terms, and returns the resulting view or error.
Steve Purkis <spurkis@quiup.com>
| Pangloss documentation | Contained in the Pangloss distribution. |
package Pangloss::Segment::ListTerms; use Pangloss::Term; use base qw( Pipeline::Segment ); our $VERSION = ((require Pangloss::Version), $Pangloss::VERSION)[1]; our $REVISION = (split(/ /, ' $Revision: 1.7 $ '))[2]; sub dispatch { my $self = shift; my $app = $self->store->get('Pangloss::Application') || return; my $view = $self->store->get('Pangloss::Application::View'); return $app->term_editor->list( $view ); } 1; __END__ #------------------------------------------------------------------------------