I've executed script using ip number instead of domain name but it takes
more or less the same time in these 2 steps:

$browser2->get($url);
           $content = $browser2->content();

Honestly i dont know if these 9 seconds can be improved  ...
Regards,
T



On 1/22/07, Igor Sutton <[EMAIL PROTECTED]> wrote:

Hi Tatiana,

2007/1/22, Tatiana Lloret Iglesias <[EMAIL PROTECTED]>:
> does it work for this kind of urls?
> http://patft.uspto.gov/netacgi/nph-Parser?
> thanks!
> T.

For these kind of problem, you always have URI:

<code>
#!env perl

use strict;
use warnings;

use URI;

my $url = "http://patft.uspto.gov/netacgi/nph-Parser?";;
my $uri = URI->new($url);
print $uri->host, "\n";
</code>

HTH!

--
Igor Sutton Lopes <[EMAIL PROTECTED]>

Reply via email to