Shipment
view release on metacpan or search on metacpan
lib/Shipment/SOAP/WSDL.pm view on Meta::CPAN
=item * Options controlling LWP::UserAgent
Use of these options is strongly discouraged for published distributions, as
it may make the distribution dependent on your environment
=over 8
=item * proxy
HTTP(s) proxy to use. Proxies can also be set ussing the HTTP_PROXY and
HTTPS_PROXY environment variables, which is generally a better choice for build
scripts.
=item * keepalive
Keppalive is only required in combination with NTLM authentication. It is not
recommended to create distributions which rely on protected documents, so
it's somewhat useless for use in Build scripts.
=back
lib/Shipment/SOAP/WSDL.pm view on Meta::CPAN
my $prefix_type = $1;
$opt{$opt_key} = $opt{prefix} . # My
ucfirst($prefix_type) . # Typemap
( $prefix_type eq 'server' ? '' : 's' ); # s
}
} keys %opt;
# set environment proxies if given
# makes sure existing environment proxies are regarded unless
# overridden...
local $ENV{HTTP_PROXY} = $opt{proxy} if $opt{proxy};
local $ENV{HTTPS_PROXY} = $opt{proxy} if $opt{proxy};
my $lwp = LWP::UserAgent->new(
$opt{keep_alive}
? ( keep_alive => 1 )
: () );
$lwp->env_proxy()
; # get proxy from environment. Works for both http & https.
$lwp->agent(qq[SOAP::WSDL $SOAP::WSDL::Expat::WSDLParser::VERSION]);
( run in 0.582 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )