Subject: | Strange death trying get() |
To: | bug-WWW-Mechanize [...] rt.cpan.org |
From: | Brent.Cowgill [...] FT.com |
Date: | Tue, 4 Feb 2003 12:34:45 +0000 |
I'm trying to use WWW::Mechanize and I get a very weird death:
Here's the program:
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use WWW::Mechanize;
my $rBrowser = WWW::Mechanize->new();
$rBrowser->get('http://apps.svc.ft.com/IPGateway-admin');
Here's the result:
Can't call method "uri" on an undefined value at
/usr/lib/perl5/site_perl/5.6.0/HTTP/Response.pm line 173.
Here's some details:
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.6-3.1enterprise, archname=i386-linux
Stack Trace:
LWP::Protocol::http::request line 279 v 1.52
(eval) line 212
(LWP::UserAgent)
LWP::UserAgent::simple_request v.1.80
LWP::UserAgent::request
WWW::Mechanize::_do_request v.0.35
WWW::Mechanize::get
MAIN
At this point when I step it in the debugger, it dies and is caught at
LWP::UserAgent line 216
with $@ = Can't report tag lists yet at /usr/lib/perl5.... HTML::Parser.pm
line 82.
I've got HTML::Parser v. 3.25
**********************************************************************************
This email may contain confidential material. If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.