Catalyst::Plugin::MobileAgent - HTTP mobile user agent string parser plugin for Catalyst
use Catalyst 'MobileAgent'; if ($c->request->mobile_agent->is_docomo) { # do something }
This Plugin is HTTP mobile user agent string parser for Catalyst.
We set mobile_agent using HTTP::MobileAgent.
Returns an instance of HTTP::MobileAgent.
HTTP::MobileAgent, Catalyst::Request
Yoshiki Kurihara, <kurihara@cpan.org>
<kurihara@cpan.org>
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.
To install Catalyst::Plugin::MobileAgent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::MobileAgent
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::MobileAgent
For more information on module installation, please visit the detailed CPAN module installation guide.