Документация Perl 5

Mojolicious::Plugin::Charset


НАЗВАНИЕ

Mojolicious::Plugin::Charset - Charset Plugin

КРАТКИЙ ОБЗОР

    # Mojolicious
    $self->plugin(charset => {charset => 'Shift_JIS'});
     
    # Mojolicious::Lite
    plugin charset => {charset => 'Shift_JIS'};

ОПИСАНИЕ

Mojolicious::Plugin::Charset is a plugin to easily set the default charset and encoding on all layers of Mojolicious.

OPTIONS

charset

  # Mojolicious::Lite
  plugin charset => {charset => 'Shift_JIS'};

Application charset.

МЕТОДЫ

Mojolicious::Plugin::Charset inherits all methods from Mojolicious::Plugin and implements the following new ones.

register

    $plugin->register;

Register plugin hooks in Mojolicious application.

СМ. ТАКЖЕ

Mojolicious, Mojolicious::Guides, http://mojolicio.us.