NAME

Pangloss::Segment::GetLanguage - get language.

SYNOPSIS

  $pipe->add_segment( Pangloss::Segment::GetLanguage->new )

DESCRIPTION

This class inherits its interface from Pipeline::Segment.

On dispatch(), if the request has a 'get_language' argument, attempts to get the language specified by 'selected_language' and return the resulting view or error.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss::Application::LanguageEditor