> Can't locate object method "epath" via package "URI::http"
>  at /usr/local/lib/perl5/site_perl/5.005/HTTP/Cookies.pm

You need to create the class of URI that HTTP::Cookies expects.  The
class of URI that is being used by the HTTP:: modules is
$HTTP::URI_CLASS.

> my $r2  = $ua->simple_request($submit->click($form));

# "Click" the button to create an HTTP::Request:
my $req1 = $submit->click($form);
# Cast the URL to the expected URI class:
my $uri1 = new $HTTP::URI_CLASS($req1->uri);
# Put the re-case uri into the HTTP::Request:
$req1->uri($uri1);
# Issue the request:
my $r2 = $ua->simple_request($req1);

-- 
 - - Martin "Kingpin" Thurn                    [EMAIL PROTECTED]
     Research Software Engineer           (703) 793-3700 x2651
     The Information Refinery              http://tir.tasc.com
     TASC, Inc.                            http://www.tasc.com

If we can just avoid any more female advice, we ought to be able to get out of here. 
-- Han, Star Wars

Reply via email to