2 | 2 |
an HTTP user agent string
|
3 | 3 |
|
4 | 4 |
VERSION
|
5 | |
version 1.30
|
|
5 |
version 1.31
|
6 | 6 |
|
7 | 7 |
SYNOPSIS
|
8 | 8 |
use HTTP::BrowserDetect;
|
|
91 | 91 |
Returns a human formatted version of the hardware device name. These
|
92 | 92 |
names are subject to change and are really meant for display purposes.
|
93 | 93 |
You should use the device() method in your logic. Returns one of:
|
94 | |
BlackBerry, iPhone, iPod or iPad. Returns UNDEF if no hardware can be
|
95 | |
detected.
|
|
94 |
BlackBerry, iPhone, iPod or iPad or device name found in user agent
|
|
95 |
string. Returns "undef" if no hardware can be detected.
|
96 | 96 |
|
97 | 97 |
browser_properties()
|
98 | 98 |
Returns a list of the browser properties, that is, all of the tests that
|
|
192 | 192 |
winnt
|
193 | 193 |
win2k winxp win2k3 winvista win7
|
194 | 194 |
wince
|
|
195 |
winphone
|
195 | 196 |
|
196 | 197 |
dotnet()
|
197 | 198 |
mac()
|
|
215 | 216 |
Returns one of the following strings, or undef. This method exists
|
216 | 217 |
solely for compatibility with the HTTP::Headers::UserAgent module.
|
217 | 218 |
|
218 | |
Win95, Win98, WinNT, Win2K, WinXP, Win2k3, WinVista, Win7, Mac, Mac OS X, iOS,
|
219 | |
Win3x, OS2, Unix, Linux, Playstation 3 GameOS, Playstation Portable GameOS
|
|
219 |
Win95, Win98, WinNT, Win2K, WinXP, Win2k3, WinVista, Win7, Windows Phone,
|
|
220 |
Mac, Mac OS X, iOS, Win3x, OS2, Unix, Linux, Playstation 3 GameOS,
|
|
221 |
Playstation Portable GameOS
|
220 | 222 |
|
221 | 223 |
Detecting Browser Vendor
|
222 | 224 |
The following methods are available, each returning a true or false
|