Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I ran the following script (obtained verbatim from the HTTP::Recorder documentation), and got an error message:
#!/usr/bin/perl use HTTP::Proxy; use HTTP::Recorder; my $proxy = HTTP::Proxy->new(); # create a new HTTP::Recorder object my $agent = new HTTP::Recorder; # set the log file (optional) $agent->file("/tmp/myfile"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1;
My error message was: Can't locate HTTP/Proxy/HeaderFilter/standard.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/HTTP/Proxy.pm line 28. ..... Any ideas? Thanks a lot, Julia

Replies are listed 'Best First'.
Re: Using HTTP::Proxy
by diotalevi (Canon) on Jun 16, 2004 at 20:03 UTC
      Yes, I thought I did... I also tried to install HTTP::Proxy::HeaderFilter and HTTP::Proxy::HeaderFilter::standard ...though I got the following troubling message when I did:
      Running make test 'test is not recognized as an internal or external command, operable p +rogram or batch file. test-- NOT OK Running make install make test had returned bad status, won't install without force
Re: Using HTTP::Proxy
by Anonymous Monk on Jun 16, 2004 at 21:11 UTC