Name

env_proxy

Synopsis

$ua->env_proxy(  )

Defines a scheme/proxy URL mapping by looking at environment variables. For example, to define the HTTP proxy, one would define the HTTP_PROXY environment variable with the proxy’s URL. To define a domain to avoid the proxy, one would define the NO_PROXY environment variable with the domain that doesn’t need a proxy.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.