HTTP::Browscap - Provides info on web browser capabilities
use HTTP::Browscap; my $browser = new HTTP::Browscap; print $browser->property( { browser => 'Mozilla/4.03 (Win16; I)', property => 'tables' } );
This module provides information on a web browsers capabilities (eg - table support, frame support), the browser being identified by its "User Agent" string. This will use the existing Microsoft browscap.ini database, a version of which is freely downloadable and actively maintained at http://www.browserhawk.com/browscap/
To install HTTP::Browscap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Browscap
CPAN shell
perl -MCPAN -e shell install HTTP::Browscap
For more information on module installation, please visit the detailed CPAN module installation guide.