Mojolicious::Plugin::BrowserDetect - HTTP::BrowserDetect integration for Mojolicious
version 0.003
# in your App module $self->plugin('browser_detect'); # in your Mojolicious controller $self->browser->... # e. g. in your root/index action if ($self->browser->mobile) { return $self->redirect_to('/mobile'); }
This Mojolicious plugin integrates HTTP::BrowserDetect.
HTTP::BrowserDetect
Uwe Voelker <uwe@uwevoelker.de>
This software is copyright (c) 2013 by Uwe Voelker.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Mojolicious::Plugin::BrowserDetect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::BrowserDetect
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::BrowserDetect
For more information on module installation, please visit the detailed CPAN module installation guide.