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]>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to