From: | "Patrick Reiner" <pastaman [...] jhu.edu> |
To: | <bug-HTTP-Recorder [...] rt.cpan.org> |
Subject: | HTTP::Recorder Error |
Date: | Fri, 27 Aug 2004 00:01:31 -0400 |
Hi,
I am using Windows XP with LWP::UserAgent version 2.032 and HTTP::Recorder version 0.02.
This is what i'm doing:
use strict;
use warnings;
use HTTP::Proxy;
use HTTP::Recorder;
(line 1) my $proxy = HTTP::Proxy->new();
(line 2) my $agent = HTTP::Recorder->new( file => "/tmp/tmpfile", showwindow => 1);
(line 3) $proxy->agent( $agent );
Every time I run this in cmd, I get the following Error: "Unrecognized LWP::UserAgent options: file prefix showwindow at file.pl line 65" which is referring to line 2 above. I've also tried using
my $agent = new HTTP::Recorder;
my $agent = HTTP::Recorder->new();
my $agent = HTTP::Recorder->new(showwindow=>1);
None of the above work, and I have NO IDEA where this error is coming from, I've really tried everything I could think of. Any help?
- Pat