The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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