http://www.perlmonks.org?node_id=1060362


in reply to LWP_SSL_Verify_mode option

Then set the ua attribute on the Frontier::Client instance.

This is the part I am having trouble with. Frontier::Client doesn't seem to allow me to do this!?

Replies are listed 'Best First'.
Re^2: LWP_SSL_Verify_mode option
by Anonymous Monk on Oct 30, 2013 at 22:07 UTC

    This is the part I am having trouble with. Frontier::Client doesn't seem to allow me to do this!?

    Use the Source, Luke, look inside

    $self->{'ua'} = LWP::UserAgent->new; $self->{'ua'}->proxy('http', $self->{'proxy'}) if(defined $self->{'proxy'}); $self->{'rq'} = HTTP::Request->new (POST => $self->{'url'}); $self->{'rq'}->header('Content-Type' => 'text/xml');