Florian Ragwitz > Catalyst-Plugin-Browser > Catalyst::Plugin::Browser

Download:
Catalyst-Plugin-Browser-0.08.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.08   Source  

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 ^

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.

syntax highlighting: