Matteo Cantoni > WWW-UserAgent-Random-0.03 > WWW::UserAgent::Random

Download:
WWW-UserAgent-Random-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

WWW::UserAgent::Random - Perl extension to generate random User Agent

SYNOPSIS ^

  use WWW::UserAgent::Random;

  my $user_agent = rand_ua("macintosh");

  or
 
  my $user_agent = rand_ua("browsers");

  or
  
  my $user_agent = rand_ua("");

DESCRIPTION ^

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):

SEE ALSO ^

http://en.wikipedia.org/wiki/User_agent

http://www.useragentstring.com/

http://www.user-agents.org/

http://www.useragents.org/

AUTHOR ^

Matteo Cantoni, <matteo.cantoni@nothink.org>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: