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

NAME

WWW::Webrobot::UserAgentConnection - create and configure a user agent

SYNOPSIS

 WWW::Webrobot::UserAgentConnection -> new($cfg, user => $user);

DESCRIPTION

Helper class.

METHODS

WWW::Webrobot::UserAgentConnection -> new ($cfg, %opt)
 $cfg
        Config, see L<WWW::Webrobot::pod::Config>
 %opt
        user => "an id for a user agent"
$conn -> ua

Get the user agent, see LWP::UserAgent

$conn -> cfg

Get the (internal) config data structure

$user -> treat_single_url ($arg, $sym_tbl)

$arg is an entry of a testplan, see WWW::Webrobot::pod::Testplan.

Returns the fail state