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

NAME

WWW::Opentracker::Stats::UserAgent - Factory package for creating a user agents

DESCRIPTION

A factory package with helper methods for creating user agents for use with opentracker statistics.

METHODS

default

Returns a default user agent object.

This creates a new LWP::UserAgent object, sets the timeout to 5 seconds, uses any proxy settings from the environment and sets a custom agent name.

SEE ALSO

LWP::UserAgent

AUTHOR

Knut-Olav Hoven, <knutolav@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2009 by Knut-Olav Hoven

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.