hsn22 has asked for the wisdom of the Perl Monks concerning the following question:
my proxy.pl isCan't locate object method "file" via package "HTTP::Recorder" at prox +y.pl line 13.
im a noob just fallen in love with perl so please exuse me if this seems silly.use strict; use warnings; 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("c:\\file"); # set HTTP::Recorder as the agent for the proxy $proxy->agent( $agent ); # start the proxy $proxy->start(); 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem with http::recorder
by tilly (Archbishop) on May 21, 2007 at 07:15 UTC | |
|
Re: problem with http::recorder
by planetscape (Chancellor) on May 21, 2007 at 09:05 UTC | |
|
Re: problem with http::recorder
by Khen1950fx (Canon) on May 21, 2007 at 08:41 UTC | |
by Anonymous Monk on Sep 14, 2007 at 02:52 UTC | |
by Anonymous Monk on May 25, 2012 at 22:05 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |