in reply to Re^3: Can't call method "extract_cookies" on an undefined value
in thread Can't call method "extract_cookies" on an undefined value
$ua = LWP::UserAgent->new; $ua->cookie_jar ($cookie_jar={}); # instead of $ua->cooki +e_jar ( +{} ); $request = HTTP::Request->new('GET', "$RevAddr" ); print "\$request = ", $request, "\n"; print Dumper ($request), "\n";
$request = HTTP::Request=HASH(0x1080540) $VAR1 = bless( { '_content' => '', '_uri' => bless( do{\(my $o = 'http://www.ora +cle.com/ +technetwork/java/javase/downloads/jre7-downloads-1880261.html +')}, 'UR +I::http' ), '_headers' => bless( {}, 'HTTP::Headers' ), '_method' => 'GET' }, 'HTTP::Request' );
What am I doing wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Can't call method "extract_cookies" on an undefined value
by Anonymous Monk on Oct 17, 2015 at 09:53 UTC |