Friday, March 4, 2011

wolfram api and perl behind proxy

add the following (italic) line in the subroutine get_useragent in the file "WolframAlpha.pm"

sub get_useragent {
my $ua = new LWP::UserAgent(
agent => $ua_agent,
env_proxy => 1,
);
return $ua;
}

No comments :

Post a Comment