HTTP::ProxyPAC::Result - Result object for 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 a class to encapsulate result object from find_proxy method.
Boolean to indicate that the result is DIRECT or not.
URI object for the actual proxy server URL, if Result type is PROXY, otherwise undef.
URI object for the actual socks server URL, if Result type is SOCKSn, 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.