Catalyst::Plugin::MobileAgent - HTTP mobile user agent string parser plugin for Catalyst
use Catalyst 'MobileAgent'; if ($c->request->mobile_agent->is_docomo) { # do something }
Catalyst plugin parsed user agent string for mobile in Japan.
Sets mobile_agent using HTTP::MobileAgent.
Returns an instance of HTTP::MobileAgent.
HTTP::MobileAgent, Catalyst::Request
Yoshiki Kurihara, <kurihara at cpan.org>
<kurihara at cpan.org>
This library 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.