Catalyst::Plugin::Browser - Browser Detection
use Catalyst qw[Browser]; if ( $c->request->browser->windows && $c->request->browser->ie ) { # do something }
Extends your applications request class with browser detection.
Returns an instance of HTTP::BrowserDetect, which lets you get information of the client's user agent.
HTTP::BrowserDetect, Catalyst::TraitFor::Request::BrowserDetect, Catalyst::Request.
Christian Hansen, ch@ngmedia.com Marcus Ramberg, mramberg@cpan.org Florian Ragwitz, rafl@debian.org
ch@ngmedia.com
mramberg@cpan.org
rafl@debian.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::Browser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Browser
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Browser
For more information on module installation, please visit the detailed CPAN module installation guide.