HTTP::UserAgentString::Robot - Web robot
$robot = $p->parse($string) print "This is a ", ($robot->isRobot()) ? "robot" : "browser", "\n"; print "Family: ", $robot->family(), "\n"; print "Name: ", $robot->name(), "\n"; print "URL: ", $robot->url(), "\n"; print "Company: ", $robot->company(), "\n"; print "Company URL: ", $robot->company_url(), "\n"; print "Info URL: ", $robot->info_url(), "\n"; $os = $robot->os();
Used to represent web robots returned by HTTP::UserAgentString::Parser. Object is read only. Accesors are provided for all capabilities defined by user-agent-string.info
Robot family. I.e, name without version.
Robot name including version
Web page for the robot
Name of the company that develops the robot
URL of the company that develops the robot
PNG icon for the robot that can be obtained from http://user-agent-string.info/pub/img/ua/
Web page in http://user-agent-string.info/ that provides information on the robot
If defined, HTTP::UserAgentString::OS object representing the operating system where the robot is running.
HTTP::UserAgentString::OS for the class representing operating systems, and UAS::Browser for browsers.
Copyright (c) 2011 Nicolas Moldavsky (http://www.e-planning.net/) This library is released under LGPL V3
To install HTTP::UserAgentString::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::UserAgentString::Parser
CPAN shell
perl -MCPAN -e shell install HTTP::UserAgentString::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.