Catalyst::Plugin::Browser - DEPRECATED: 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.
This module should no longer be used in new applications.
Catalyst::TraitFor::Request::BrowserDetect is the replacement.
- browser
- 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>
This software is copyright (c) 2010 by Christian Hansen.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.