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

Catalyst::Plugin::MobileAgent - HTTP mobile user agent string parser plugin for Catalyst

SYNOPSIS

use Catalyst 'MobileAgent';

if ($c->request->mobile_agent->is_docomo) {
    # do something
}

DESCRIPTION

Catalyst plugin parsed user agent string for mobile in Japan.

EXTENDED METHODS

prepare_headers

Sets mobile_agent using HTTP::MobileAgent.

METHODS

mobile_agent

Returns an instance of HTTP::MobileAgent.

SEE ALSO

HTTP::MobileAgent, Catalyst::Request

AUTHOR

Yoshiki Kurihara, <kurihara at cpan.org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.