Catalyst::Plugin::Browser - Browser Detection


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 the HTTP::BrowserDetect manpage, which lets you get information of the client's user agent.


SEE ALSO

the HTTP::BrowserDetect manpage, the Catalyst::Request manpage.


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.