Yoshiki KURIHARA > Catalyst-Plugin-MobileAgent > Catalyst::Plugin::MobileAgent

Download:
Catalyst-Plugin-MobileAgent-0.041.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.041   Source  

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.

syntax highlighting: