HTTP::ProxyPAC::Result - Result object from HTTP::ProxyPAC find_proxy
my $pac = HTTP::ProxyPAC->new($url); my $res = $pac->find_proxy('http://www.google.com/'); $res->direct; $res->proxy; $res->socks;
HTTP::ProxyPAC::Result is the class of the result object from the find_proxy method of HTTP::ProxyPAC.
Boolean to indicate whether the result is DIRECT or not.
URI object for the proxy server URL if the result is PROXY, otherwise undef.
URI object for the socks server URL if the result is SOCKS, otherwise undef.
Tatsuhiko Miyagawa
HTTP::ProxyPAC
To install HTTP::ProxyPAC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::ProxyPAC
CPAN shell
perl -MCPAN -e shell install HTTP::ProxyPAC
For more information on module installation, please visit the detailed CPAN module installation guide.