NAME

Catalyst::Plugin::Browser - DEPRECATED: Browser Detection

SYNOPSIS

use Catalyst qw[Browser];

if ( $c->request->browser->windows && $c->request->browser->ie ) {
    # do something
}

DESCRIPTION

Extends your applications request class with browser detection.

DEPRECATED

This module should no longer be used in new applications. Catalyst::TraitFor::Request::BrowserDetect is the replacement.

METHODS

browser

Returns an instance of HTTP::BrowserDetect, which lets you get information of the client's user agent.

SEE ALSO

HTTP::BrowserDetect, Catalyst::TraitFor::Request::BrowserDetect, Catalyst::Request.

AUTHORS

  • Christian Hansen <ch@ngmedia.com>

  • Marcus Ramberg <mramberg@cpan.org>

  • Florian Ragwitz <rafl@debian.org>

COPYRIGHT AND LICENSE

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.