Dancer::Plugin::Browser::Detect - easy to have info of the browser.
use Dancer; use Dancer::Plugin::Browser::Detect; get '/' => sub { my $browser = browser_detect(); if ( $browser->windows && $browser->ie && $browser->major() < 6 ) { return "You have big failed, change your os, browser, and come back late."; } }; dance;
Provides an easy to have info of the browser. keyword within your Dancer application.
Natal Ngétal, <hobbestigrou@erakis.im>
<hobbestigrou@erakis.im>
Dancer HTTP::BrowserDetect
To install Dancer::Plugin::Browser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Plugin::Browser
CPAN shell
perl -MCPAN -e shell install Dancer::Plugin::Browser
For more information on module installation, please visit the detailed CPAN module installation guide.