WWW::UserAgent::Random - Perl extension to generate random User Agent
use WWW::UserAgent::Random; my $user_agent = rand_ua("macintosh"); or my $user_agent = rand_ua("browsers"); or my $user_agent = rand_ua("");
WWW::UserAgent::Random allows to generate random User Agent.
If you don't specify a category, then the rand_ua function will return ones random.
The special category 'browsers' includes only 'freebsd','linux','macintosh','netbsd,'openbsd','sunos' and 'windows' categories.
Categories list (see source files or /docs/user_agent_list.txt file for details):
http://en.wikipedia.org/wiki/User_agent
http://www.useragentstring.com/
Matteo Cantoni, <matteo.cantoni@nothink.org>
Copyright (C) 2009,2010,2011 by Matteo Cantoni
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.