Nicolas Moldavsky > HTTP-UserAgentString-Parser-0.6.1 > HTTP::UserAgentString::OS

Download:
HTTP-UserAgentString-Parser-0.6.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

HTTP::UserAgentString::OS - Operating system

SYNOPSIS ^

 $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";

DESCRIPTION ^

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

METHODS ^

$os->name()

OS name (includes version). Example: Windows 95

$os->family()

OS family. I.e: Windows

$os->url()

Web page for the OS

$os->company()

Name of the company that develops the OS

$os->company_url()

URL of the company that develops the OS

$os->ico()

Icon for the OS, found in http://user-agent-string.info/pub/img/os/

COPYRIGHT ^

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