in reply to Re^3: Fetch Problem uri
in thread Fetch Problem uri
Thank you very much for your valuable feedback. I finally decided to roll back to LWP using the following"
my $filename = (URI->new($url)->path_segments)[-1]; print "Filename is $filename \n"; $response = $browser->get($url, ':content_file' => "$filename ", ); if ($response->is_error()) { my $error= "\nCould not open $url\n", $response->status_line; }
The problem with the file name remains (unfortunately the URIs can have any possible form so that I'm not sure your Regex will match any URI
|
|---|