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

This Plugin is HTTP mobile user agent string parser for Catalyst.

EXTENDED METHODS

prepare_headers

We set mobile_agent using HTTP::MobileAgent.

METHODS

mobile_agent

Returns an instance of HTTP::MobileAgent.

SEE ALSO

HTTP::MobileAgent, Catalyst::Request

AUTHOR

Yoshiki Kurihara, <kurihara@cpan.org>

COPYRIGHT & LICENSE

Copyright 2006 Yoshiki Kurihara, all rights reserved.

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