.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "HTTP::BrowserDetect 3pm" .TH HTTP::BrowserDetect 3pm "2014-09-01" "perl v5.20.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" HTTP::BrowserDetect \- Determine Web browser, version, and platform from an HTTP user agent string .SH "VERSION" .IX Header "VERSION" version 1.75 .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& use HTTP::BrowserDetect; \& \& my $browser = HTTP::BrowserDetect\->new($user_agent_string); \& \& # Detect operating system \& if ($browser\->windows) { \& if ($browser\->winnt) ... \& if ($browser\->win95) ... \& } \& print $browser\->mac; \& \& # Detect browser vendor and version \& print $browser\->netscape; \& print $browser\->ie; \& if (browser\->major(4)) { \& if ($browser\->minor() > .5) { \& ... \& } \& } \& if ($browser\->version() > 4) { \& ...; \& } .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" The HTTP::BrowserDetect object does a number of tests on an \s-1HTTP\s0 user agent string. The results of these tests are available via methods of the object. .PP This module is based upon the JavaScript browser detection code available at . .SH "CONSTRUCTOR AND STARTUP" .IX Header "CONSTRUCTOR AND STARTUP" .SS "\fInew()\fP" .IX Subsection "new()" .Vb 1 \& HTTP::BrowserDetect\->new( $user_agent_string ) .Ve .PP The constructor may be called with a user agent string specified. Otherwise, it will use the value specified by \f(CW$ENV\fR{'\s-1HTTP_USER_AGENT\s0'}, which is set by the web server when calling a \s-1CGI\s0 script. .PP You may also use a non-object-oriented interface. For each method, you may call \&\fIHTTP::BrowserDetect::method_name()\fR. You will then be working with a default HTTP::BrowserDetect object that is created behind the scenes. .SH "SUBROUTINES/METHODS" .IX Header "SUBROUTINES/METHODS" .SS "\fIuser_agent()\fP" .IX Subsection "user_agent()" Returns the value of the user agent string. .PP Calling this method with a parameter has now been deprecated and this feature will be removed in an upcoming release. .SS "\fIcountry()\fP" .IX Subsection "country()" Returns the country string as it may be found in the user agent string. This will be in the form of an upper case 2 character code. ie: \s-1US, DE,\s0 etc .SS "\fIlanguage()\fP" .IX Subsection "language()" Returns the language string as it is found in the user agent string. This will be in the form of an upper case 2 character code. ie: \s-1EN, DE,\s0 etc .SS "\fIdevice()\fP" .IX Subsection "device()" Returns the method name of the actual hardware, if it can be detected. Currently returns one of: android, audrey, blackberry, dsi, iopener, ipad, iphone, ipod, kindle, n3ds, palm, ps3, psp, wap, webos. Returns \f(CW\*(C`undef\*(C'\fR if no hardware can be detected .SS "\fIdevice_name()\fP" .IX Subsection "device_name()" Returns a human formatted version of the hardware device name. These names are subject to change and are really meant for display purposes. You should use the \fIdevice()\fR method in your logic. Returns one of: Android, Audrey, BlackBerry, Nintendo DSi, iopener, iPad, iPhone, iPod, Amazon Kindle, Nintendo 3DS, Palm, Sony PlayStation 3, Sony Playstation Portable, \s-1WAP\s0 capable phone, webOS. Also Windows-based smartphones will output various different names like \&\s-1HTC T7575.\s0 Returns \f(CW\*(C`undef\*(C'\fR if this is not a device or if no device name can be detected. .SS "\fIbrowser_properties()\fP" .IX Subsection "browser_properties()" Returns a list of the browser properties, that is, all of the tests that passed for the provided user_agent string. Operating systems, devices, browser names, mobile and robots are all browser properties. .SH "Detecting Browser Version" .IX Header "Detecting Browser Version" Please note that that the \fIversion()\fR, \fImajor()\fR and \fIminor()\fR methods have been superceded as of release 1.07 of this module. They are not yet deprecated, but should be replaced with \fIpublic_version()\fR, \fIpublic_major()\fR and \fIpublic_minor()\fR in new development. .PP The reasoning behind this is that \fIversion()\fR method will, in the case of Safari, return the Safari/XXX numbers even when Version/XXX numbers are present in the UserAgent string. Because this behaviour has been in place for so long, some clients may have come to rely upon it. So, it has been retained in the interest of \*(L"bugwards compatibility\*(R", but in almost all cases, the numbers returned by \&\fIpublic_version()\fR, \fIpublic_major()\fR and \fIpublic_minor()\fR will be what you are looking for. .SS "\fIpublic_version()\fP" .IX Subsection "public_version()" Returns the browser version as a floating-point number. .SS "\fIpublic_major()\fP" .IX Subsection "public_major()" Returns the integer portion of the browser version. .SS "\fIpublic_minor()\fP" .IX Subsection "public_minor()" Returns the decimal portion of the browser version as a \fBfloating-point number\fR less than 1. For example, if the version is 4.05, this method returns \&.05; if the version is 4.5, this method returns .5. .PP On occasion a version may have more than one decimal point, such as \&'Wget/1.4.5'. The minor version does not include the second decimal point, or any further digits or decimals. .SS "version($version)" .IX Subsection "version($version)" Returns the version as a floating-point number. If passed a parameter, returns true if it is equal to the version specified by the user agent string. .SS "major($major)" .IX Subsection "major($major)" Returns the integer portion of the browser version. If passed a parameter, returns true if it equals the browser major version. .SS "minor($minor)" .IX Subsection "minor($minor)" Returns the decimal portion of the browser version as a \fBfloating-point number\fR less than 1. For example, if the version is 4.05, this method returns \&.05; if the version is 4.5, this method returns .5. \fBThis is a change in behavior from previous versions of this module, which returned a string\fR. .PP If passed a parameter, returns true if equals the minor version. .PP On occasion a version may have more than one decimal point, such as \&'Wget/1.4.5'. The minor version does not include the second decimal point, or any further digits or decimals. .SS "beta($beta)" .IX Subsection "beta($beta)" Returns any the beta version, consisting of any non-numeric characters after the version number. For instance, if the user agent string is 'Mozilla/4.0 (compatible; \s-1MSIE 5\s0.0b2; Windows \s-1NT\s0)', returns 'b2'. If passed a parameter, returns true if equal to the beta version. If the beta starts with a dot, it is thrown away. .SH "Detecting Rendering Engine" .IX Header "Detecting Rendering Engine" .SS "\fIengine_string()\fP" .IX Subsection "engine_string()" Returns one of the following: .PP Gecko, \s-1KHTML,\s0 Trident, \s-1MSIE,\s0 NetFront .PP Returns \f(CW\*(C`undef\*(C'\fR if no string can be found. .SS "\fIengine_version()\fP" .IX Subsection "engine_version()" Returns the version number of the rendering engine. Currently this only returns a version number for Gecko and Trident. Returns \f(CW\*(C`undef\*(C'\fR for all other engines. The output is simply \f(CW\*(C`engine_major\*(C'\fR added with \f(CW\*(C`engine_minor\*(C'\fR. .SS "\fIengine_major()\fP" .IX Subsection "engine_major()" Returns the major version number of the rendering engine. Currently this only returns a version number for Gecko and Trident. Returns \f(CW\*(C`undef\*(C'\fR for all other engines. .SS "\fIengine_minor()\fP" .IX Subsection "engine_minor()" Returns the minor version number of the rendering engine. Currently this only returns a version number for Gecko and Trident. Returns \f(CW\*(C`undef\*(C'\fR for all other engines. .SH "Detecting OS Platform and Version" .IX Header "Detecting OS Platform and Version" The following methods are available, each returning a true or false value. Some methods also test for the operating system version. The indentations below show the hierarchy of tests (for example, win2k is considered a type of winnt, which is a type of win32) .SS "\fIwindows()\fP" .IX Subsection "windows()" .Vb 10 \& win16 win3x win31 \& win32 \& winme win95 win98 \& winnt \& win2k winxp win2k3 winvista win7 \& win8 \& win8_0 win8_1 \& wince \& winphone \& winphone7 winphone7_5 winphone8 .Ve .SS "\fIdotnet()\fP" .IX Subsection "dotnet()" .SS "\fIchromeos()\fP" .IX Subsection "chromeos()" .SS "\fIfirefoxos()\fP" .IX Subsection "firefoxos()" .SS "\fImac()\fP" .IX Subsection "mac()" mac68k macppc macosx ios .SS "\fIos2()\fP" .IX Subsection "os2()" .SS "\fIbb10()\fP" .IX Subsection "bb10()" .SS "\fIrimtabletos()\fP" .IX Subsection "rimtabletos()" .SS "\fIunix()\fP" .IX Subsection "unix()" .Vb 3 \& sun sun4 sun5 suni86 irix irix5 irix6 hpux hpux9 hpux10 \& aix aix1 aix2 aix3 aix4 linux sco unixware mpras reliant \& dec sinix freebsd bsd .Ve .SS "\fIvms()\fP" .IX Subsection "vms()" .SS "\fIamiga()\fP" .IX Subsection "amiga()" .SS "\fIps3gameos()\fP" .IX Subsection "ps3gameos()" .SS "\fIpspgameos()\fP" .IX Subsection "pspgameos()" It may not be possibile to detect Win98 in Netscape 4.x and earlier. On Opera 3.0, the userAgent string includes \*(L"Windows 95/NT4\*(R" on all Win32, so you can't distinguish between Win95 and WinNT. .SS "\fIos_string()\fP" .IX Subsection "os_string()" Returns one of the following strings, or undef. This method exists solely for compatibility with the HTTP::Headers::UserAgent module. .PP .Vb 4 \& Win95, Win98, WinNT, Win2K, WinXP, Win2k3, WinVista, Win7, Win8, \& Win8.1, Windows Phone, Mac, Mac OS X, iOS, Win3x, OS2, Unix, Linux, \& Chrome OS, Firefox OS, Playstation 3 GameOS, Playstation Portable GameOS, \& RIM Tablet OS, BlackBerry 10 .Ve .SH "Detecting Browser Vendor" .IX Header "Detecting Browser Vendor" The following methods are available, each returning a true or false value. Some methods also test for the browser version, saving you from checking the version separately. .PP \fIaol aol3 aol4 aol5 aol6\fR .IX Subsection "aol aol3 aol4 aol5 aol6" .PP \fIchrome\fR .IX Subsection "chrome" .PP \fIcurl\fR .IX Subsection "curl" .PP \fIemacs\fR .IX Subsection "emacs" .PP \fIfirefox\fR .IX Subsection "firefox" .PP \fIgecko\fR .IX Subsection "gecko" .PP \fIicab\fR .IX Subsection "icab" .PP \fIie ie3 ie4 ie4up ie5 ie55 ie6 ie7 ie8 ie9 ie10 ie11\fR .IX Subsection "ie ie3 ie4 ie4up ie5 ie55 ie6 ie7 ie8 ie9 ie10 ie11" .PP \fIie_compat_mode\fR .IX Subsection "ie_compat_mode" .PP The ie_compat_mode is used to determine if the \s-1IE\s0 user agent is for the compatibility mode view, in which case the real version of \s-1IE\s0 is higher than that detected. The true version of \s-1IE\s0 can be inferred from the version of Trident in the engine_version method. .PP \fIjava\fR .IX Subsection "java" .PP \fIkonqueror\fR .IX Subsection "konqueror" .PP \fIlotusnotes\fR .IX Subsection "lotusnotes" .PP \fIlynx links elinks\fR .IX Subsection "lynx links elinks" .PP \fImobile_safari\fR .IX Subsection "mobile_safari" .PP \fImosaic\fR .IX Subsection "mosaic" .PP \fImozilla\fR .IX Subsection "mozilla" .PP \fIneoplanet neoplanet2\fR .IX Subsection "neoplanet neoplanet2" .PP \fInetfront\fR .IX Subsection "netfront" .PP \fInetscape nav2 nav3 nav4 nav4up nav45 nav45up navgold nav6 nav6up\fR .IX Subsection "netscape nav2 nav3 nav4 nav4up nav45 nav45up navgold nav6 nav6up" .PP \fIopera opera3 opera4 opera5 opera6 opera7\fR .IX Subsection "opera opera3 opera4 opera5 opera6 opera7" .PP \fIrealplayer\fR .IX Subsection "realplayer" .PP \fIrealplayer_browser\fR .IX Subsection "realplayer_browser" .PP The realplayer method above tests for the presence of either the RealPlayer plug-in \*(L"(r1 \*(R" or the browser \*(L"RealPlayer\*(R". To preserve \*(L"bugwards compatibility\*(R" and prevent false reporting, browser_string calls this method which ignores the \*(L"(r1 \*(R" plug-in signature. .PP \fIsafari\fR .IX Subsection "safari" .PP \fIstaroffice\fR .IX Subsection "staroffice" .PP \fIwebtv\fR .IX Subsection "webtv" .PP Netscape 6, even though its called six, in the User-Agent string has version number 5. The nav6 and nav6up methods correctly handle this quirk. The Firefox test correctly detects the older-named versions of the browser (Phoenix, Firebird). .SS "\fIbrowser_string()\fP" .IX Subsection "browser_string()" Returns undef on failure. Otherwise returns one of the following: .PP Netscape, Firefox, Safari, Chrome, \s-1MSIE,\s0 WebTV, \s-1AOL\s0 Browser, Opera, Mosaic, Lynx, Links, ELinks, RealPlayer, IceWeasel, curl, puf, NetFront, Mobile Safari, BlackBerry. .SS "\fIgecko_version()\fP" .IX Subsection "gecko_version()" If a Gecko rendering engine is used (as in Mozilla or Firefox), returns the version of the renderer (e.g. 1.3a, 1.7, 1.8) This might be more useful than the particular browser name or version when correcting for quirks in different versions of this rendering engine. If no Gecko browser is being used, or the version number can't be detected, returns undef. .SH "Detecting Other Devices" .IX Header "Detecting Other Devices" The following methods are available, each returning a true or false value. .PP \fIandroid\fR .IX Subsection "android" .PP \fIaudrey\fR .IX Subsection "audrey" .PP \fIavantgo\fR .IX Subsection "avantgo" .PP \fIblackberry\fR .IX Subsection "blackberry" .PP \fIdsi\fR .IX Subsection "dsi" .PP \fIiopener\fR .IX Subsection "iopener" .PP \fIiphone\fR .IX Subsection "iphone" .PP \fIipod\fR .IX Subsection "ipod" .PP \fIipad\fR .IX Subsection "ipad" .PP \fIkindle\fR .IX Subsection "kindle" .PP \fIn3ds\fR .IX Subsection "n3ds" .PP \fIobigo\fR .IX Subsection "obigo" .PP \fIpalm\fR .IX Subsection "palm" .PP \fIwebos\fR .IX Subsection "webos" .PP \fIwap\fR .IX Subsection "wap" .PP \fIpsp\fR .IX Subsection "psp" .PP \fIps3\fR .IX Subsection "ps3" .SS "\fImobile()\fP" .IX Subsection "mobile()" Returns true if the browser appears to belong to a handheld device. .SS "\fItablet()\fP" .IX Subsection "tablet()" Returns true if the browser appears to belong to a tablet device. .SS "\fIrobot()\fP" .IX Subsection "robot()" Returns true if the user agent appears to be a robot, spider, crawler, or other automated Web client. .PP The following additional methods are available, each returning a true or false value. This is by no means a complete list of robots that exist on the Web. .PP \fIahrefs\fR .IX Subsection "ahrefs" .PP \fIaltavista\fR .IX Subsection "altavista" .PP \fIaskjeeves\fR .IX Subsection "askjeeves" .PP \fIbaidu\fR .IX Subsection "baidu" .PP \fIfacebook\fR .IX Subsection "facebook" .PP \fIgetright\fR .IX Subsection "getright" .PP \fIgoogle\fR .IX Subsection "google" .PP \fIgoogleadsbot\fR .IX Subsection "googleadsbot" .PP \fIgoogleadsense\fR .IX Subsection "googleadsense" .PP \fIgooglemobile\fR .IX Subsection "googlemobile" .PP \fIinfoseek\fR .IX Subsection "infoseek" .PP \fIlinkexchange\fR .IX Subsection "linkexchange" .PP \fIlwp\fR .IX Subsection "lwp" .PP \fIlycos\fR .IX Subsection "lycos" .PP \fImj12bot\fR .IX Subsection "mj12bot" .PP \fImsn (same as bing)\fR .IX Subsection "msn (same as bing)" .PP \fIpuf\fR .IX Subsection "puf" .PP \fIslurp\fR .IX Subsection "slurp" .PP \fIwebcrawler\fR .IX Subsection "webcrawler" .PP \fIwget\fR .IX Subsection "wget" .PP \fIyahoo\fR .IX Subsection "yahoo" .PP \fIyandex\fR .IX Subsection "yandex" .PP \fIyandeximages\fR .IX Subsection "yandeximages" .SH "CREDITS" .IX Header "CREDITS" Lee Semel, lee@semel.net (Original Author) .PP Peter Walsham (co-maintainer) .PP Olaf Alders, \f(CW\*(C`olaf at wundercounter.com\*(C'\fR (co-maintainer) .SH "ACKNOWLEDGEMENTS" .IX Header "ACKNOWLEDGEMENTS" Thanks to the following for their contributions: .PP cho45 .PP Leonardo Herrera .PP Denis F. Latypoff .PP merlynkline .PP Simon Waters .PP Toni Cebrin .PP Florian Merges .PP david.hilton.p .PP Steve Purkis .PP Andrew McGregor .PP Robin Smidsrod .PP Richard Noble .PP Josh Ritter .PP Mike Clarke .PP Marc Sebastian Pelzer .PP Alexey Surikov .PP Maros Kollar .PP Jay Rifkin .PP Luke Saunders .PP Jacob Rask .PP Heiko Weber .PP Jon Jensen .PP Jesse Thompson .PP Graham Barr .PP Enrico Sorcinelli .PP Olivier Bilodeau .PP Yoshiki Kurihara .PP Paul Findlay .PP Uwe Voelker .PP Douglas Christopher Wilson .PP John Oatis .PP Atsushi Kato .PP Ronald J. Kimball .PP Bill Rhodes .PP Thom Blake .PP Aran Deltac .PP yeahoffline .PP David Ihnen .PP Hao Wu .PP Perlover .SH "TO DO" .IX Header "TO DO" The \f(CW\*(C`_engine()\*(C'\fR method currently only handles Gecko and Trident. It needs to be expanded to handle other rendering engines. .PP \&\s-1POD\s0 coverage is also not 100%. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\*(L"Browser \s-1ID \s0(User-Agent) Strings\*(R", .PP HTML::ParseBrowser. .SH "" .IX Header "" .SH "SUPPORT" .IX Header "SUPPORT" You can find documentation for this module with the perldoc command. .PP .Vb 1 \& perldoc HTTP::BrowserDetect .Ve .PP You can also look for information at: .IP "\(bu" 4 GitHub Source Repository .Sp .IP "\(bu" 4 Reporting Issues .Sp .IP "\(bu" 4 AnnoCPAN: Annotated \s-1CPAN\s0 documentation .Sp .IP "\(bu" 4 \&\s-1CPAN\s0 Ratings .Sp .IP "\(bu" 4 Search \s-1CPAN\s0 .Sp .SH "BUGS AND LIMITATIONS" .IX Header "BUGS AND LIMITATIONS" The biggest limitation at this point is the test suite, which really needs to have many more UserAgent strings to test against. .SH "CONTRIBUTING" .IX Header "CONTRIBUTING" Patches are certainly welcome, with many thanks for the excellent contributions which have already been received. The preferred method of patching would be to fork the GitHub repo and then send me a pull request, but plain old patch files are also welcome. .PP If you're able to add test cases, this will speed up the time to release your changes. Just edit t/useragents.json so that the test coverage includes any changes you have made. Please contact me if you have any questions. .PP This distribution uses Dist::Zilla. If you're not familiar with this module, please see for some helpful tips to get you started. .SH "AUTHORS" .IX Header "AUTHORS" .IP "\(bu" 4 Lee Semel .IP "\(bu" 4 Peter Walsham .IP "\(bu" 4 Olaf Alders (current maintainer) .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2014 by Lee Semel. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.