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 = "ht
On Fri, 22 Nov 2002 15:40:17 + (GMT) Josh Barker <[EMAIL PROTECTED]> wrote:
> I'm trying to pass a url like:
>
> http://link.clientname.com/path_name
>
> And get:
>
> Can't locate object method "host" via package "URI::_generic" at
> ../buggy_program.pl line 17.
>
> I'm using:
>
> $url_us
Hi,
I'm trying to pass a url like:
http://link.clientname.com/path_name
And get:
Can't locate object method "host" via package "URI::_generic" at
../buggy_program.pl line 17.
I'm using:
$url_use = "http://link.clientname.com/path_name";
$url = URI->new($url_use);
$host_name = $url->host();