HTTP::UserAgentString::OS - Operating system
$os = $browser->os() print "Name: ", $os->name(), "\n"; print "Family: ", $os->family(), "\n"; print "URL: ", $os->url(), "\n"; print "Company: ", $os->company(), "\n"; print "Company URL: ", $os->company_url(), "\n";
Used to represent operating systems returned where browsers or robots run. The class is read only. Accesors are provided for all capabilities defined by user-agent-string.info
OS name (includes version). Example: Windows 95
OS family. I.e: Windows
Web page for the OS
Name of the company that develops the OS
URL of the company that develops the OS
Icon for the OS, found in http://user-agent-string.info/pub/img/os/
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.