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

NAME

HTTP::DetectUserAgent - Yet another HTTP useragent string parser.

VERSION

This document describes HTTP::DetectUserAgent version 0.03

SYNOPSIS

  use HTTP::DetectUserAgent;
  my $ua = HTTP::DetectUserAgent->new($useragent_string);
  my $type    = $ua->type;
  my $name    = $ua->name;
  my $version = $ua->version;
  my $vendor  = $ua->vendor;
  my $os      = $ua->os;

DESCRIPTION

HTTP::DetectUserAgent provides the parsing function for HTTP useragent strings. You can use it for determine which browser (or crawler, bot, and so on) is accessing to your servers or web applications.

SEE ALSO

There are a number of other modules that can be used to parse User-Agent strings: HTTP::BrowserDetect, HTML::ParseBrowser, HTTP::MobileAgent, HTTP::UserAgentString::Parser, Parse::HTTP::UserAgent, and Woothee.

The following is a review of all perl modules on CPAN for parsing User-Agent strings: http://neilb.org/reviews/user-agent.html

REPOSITORY

https://github.com/neilb/HTTP-DetectUserAgent

AUTHOR

Takaaki Mizuno, <module@takaaki.info>

THANKS

Thanks to yappo-san and drry-san for fixing bugs and cleaning up my code.

COPYRIGHT AND LICENSE

Copyright (C) 2009-2012 by Takaaki Mizuno

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.