Marcus Ramberg > Catalyst-Plugin-Browser-0.02 > Catalyst::Plugin::Browser

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

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.02   Source   Latest Release: Catalyst-Plugin-Browser-0.08

NAME ^

Catalyst::Plugin::Browser - Browser Detection

SYNOPSIS ^

    use Catalyst qw[Browser];

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

DESCRIPTION ^

Extends Catalyst::Request with browser detection.

METHODS ^

browser

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

SEE ALSO ^

HTTP::BrowserDetect, Catalyst::Request.

AUTHOR ^

Christian Hansen, ch@ngmedia.com Marcus Ramberg, mramberg@cpan.org

LICENSE ^

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

syntax highlighting: