Re: LWPng patch to work with URI

Gisle Aas (gisle@aas.no)
12 Apr 1999 16:18:44 +0200


Blair Zajac <bzajac@geostaff.com> writes:

> When I tried to use my WebFS::FileCopy routines they were failing.
> To fix the problem, I've patched LWPng to use the URI module instead
> of URL.  While this patch may not have picked up all the changes
> needed for LWPng, I was successfully able to run make test on LWPng
> and WebFS::FileCopy fine without any problems.

I am uploading LWPng-alpha-0.24 now with your patch. Thanks!

> One question: in URI::_generic.pm the following line appears:
> 
> *epath = \&path;
> 
> and in URI::URL.pm the following routine appears:
> 
> sub epath
> {
>     my $path = shift->SUPER::path(@_);
>     $path =~ s/;.*//;
>     $path;
> }
> 
> While they are almost identical, they are different.  Shouldn't just
> one be kept and the other discarded?

I guess I should kill the epath alias in URI::_generic.pm.  Done.

Regards,
Gisle