On Fri, 22 Nov 2002, Michael A Chase wrote:
> I cut and pasted your code into the following script and it works for me
> (URI-1.21).  It should work with URI-1.22 since I don't see any changes in
> URI.pm that would affect this.
>
> #!/usr/bin/perl -w
> use URI;
> use strict;
>
> my $url_use = "http://link.clientname.com/path_name";;
> my $url = URI -> new( $url_use );
> my $host_name = $url -> host();
>
> print "$host_name\n";
> exit 0;

This works -- will look into why doesn't work in situ.

Thanks anyway!

Josh


Reply via email to