WWW::MobileDevice - Perl extension for mobile device detection
use WWW::MobileDevice; if (mobile_device()) { # display page for mobile device } else { # display standard page }
Detects mobile devices. Conforms to http://detectmobilebrowsers.com
mobile_device()
Kiel R Stirling, kielstr@cpan.org
Copyright (C) 2012 by Kiel R Stirling
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
To install WWW::MobileDevice, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::MobileDevice
CPAN shell
perl -MCPAN -e shell install WWW::MobileDevice
For more information on module installation, please visit the detailed CPAN module installation guide.