The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTTP::UserAgentString::Robot - Web robot

SYNOPSIS

 $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();

DESCRIPTION

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

METHODS

$robot->family()

Robot family. I.e, name without version.

$robot->name()

Robot name including version

$robot->url()

Web page for the robot

$robot->company()

Name of the company that develops the robot

$robot->company_url()

URL of the company that develops the robot

$robot->ico()

PNG icon for the robot that can be obtained from http://user-agent-string.info/pub/img/ua/

$robot->info_url()

Web page in http://user-agent-string.info/ that provides information on the robot

$robot->os

If defined, HTTP::UserAgentString::OS object representing the operating system where the robot is running.

SEE ALSO

HTTP::UserAgentString::OS for the class representing operating systems, and UAS::Browser for browsers.

COPYRIGHT

 Copyright (c) 2011 Nicolas Moldavsky (http://www.e-planning.net/)
 This library is released under LGPL V3