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


Catalyst-Plugin-MobileAgent documentation  | view source Contained in the Catalyst-Plugin-MobileAgent distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    use Catalyst 'MobileAgent';

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

DESCRIPTION

Top

Catalyst plugin parsed user agent string for mobile in Japan.

EXTENDED METHODS

Top

prepare_headers

Sets mobile_agent using HTTP::MobileAgent.

METHODS

Top

mobile_agent

Returns an instance of HTTP::MobileAgent.

SEE ALSO

Top

HTTP::MobileAgent, Catalyst::Request

AUTHOR

Top

Yoshiki Kurihara, <kurihara at cpan.org>

LICENSE

Top

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


Catalyst-Plugin-MobileAgent documentation  | view source Contained in the Catalyst-Plugin-MobileAgent distribution.