Re: patch for LWP 5.05 to make it play with both 5.003 and 5.003_20 + overload

Ilya Zakharevich (ilya@math.ohio-state.edu)
Sun, 19 Jan 1997 13:27:30 -0500 (EST)


Martijn Koster writes:
> 
> At 1:13 PM 1/16/97, Ilya Zakharevich wrote:
> 
> >Cannot make libwww quickly work here. If you can run it with -Do, you
> >may see the relevant info.
> 
> Ok, after applying Randal's patch, I get the same warning on _22 that
> Gisle reported earlier. With perl-porters losing messages I don't know
> if anyone made any progress on this.
> 
> 
> I tried to come up with a simple testcase -- Gisle, is the test below correct?
> 
> #!/local/bin/perl -w
> 
> use URI::URL qw(url);
> 
> print "1..2\n";
> 
> $str = 'http://host/file';
> $base = new URI::URL $str;
> # test "" overloading
> print "not " unless "$base" eq $str;
> print "ok 1\n";
> 
> # test eq overloading
> print "not " unless $base eq $str;
> print "ok 2\n";
> 
> 
> With my _22 both fail.

I think you did not applied the patch %OVERLOAD ---> use overload. It
works here with _21. This is not what fails in the standard test suite.

> I tried -Do for Ilya, and got 45K of output --
> what are we looking for?

Info about "" and eq.

There is no message that they are going to be overloaded, and that
they were overloaded when executed.

Ilya