Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 50
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: mstevens [...] etla.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.60
Fixed in: 5.62



Subject: problems with versions
Download (untitled) / with headers
text/plain 1.6k
Hi. I'm running perl 5.6.1 on debian linux. I'm trying to upgrade my machine to the latest version of LWP::UserAgent, and have found the following problem: Show quoted text
cpan> r
Package namespace installed latest in CPAN file HTTP::Cookies 1.16 1.19 G/GA/GAAS/libwww-perl-5.61.tar.gz LWP::UserAgent 1.80 1.99 G/GA/GAAS/libwww-perl-5.60.tar.gz 5.61 installs for me, but leaves LWP::UserAgent out of date. 5.60 won't install for me, and would presumably leave HTTP::Cookies out of date. 5.60 fails live/google, with the following content: orbit:~/.cpan/build/libwww-perl-5.60/t/live# perl -I../../blib/lib google.t 1..3 text/html text/html, text/html; charset=ISO-8859-1 ok 1 GET http://www.google.com/search?q=LWP&btnI=I'm+Feeling+Lucky HTTP/1.1 200 OK Date: Mon, 19 Nov 2001 10:54:01 GMT Server: GWS/1.11 Content-Length: 622 Content-Type: text/html Client-Date: Mon, 19 Nov 2001 10:54:19 GMT Client-Request-Num: 3 Client-Warning: LWP HTTP/1.1 support is experimental Title: Forbidden <HTML><HEAD><TITLE>Forbidden</TITLE></HEAD> <BODY><H1>Forbidden</H1> Your client from the IP address 193.130.36.1 does not have permission to get URL /search?q=LWP&amp;btnI=I&#39;m+Feeling+Lucky from this server.<BR><BR>Please see Google's Terms of Service posted at http://www.google.com/terms_of_service.html <BR><BR>If you believe that you have received this response in error, please send email to <A href="mailto:forbidden@google.com">forbidden@google.com</A>. In your email, please let us know the IP address from which you are querying (it is shown above). This will help us track down the problem.</BODY></HTML> not ok 2 ok 3 Presumably showing google have changed their servers... Michael
To: bug-libwww-perl [...] rt.cpan.org
Cc: libwww [...] perl.org
Subject: Re: [cpan #50] problems with versions
From: Gisle Aas <gisle [...] ActiveState.com>
Date: 19 Nov 2001 08:47:58 -0800
Download (untitled) / with headers
text/plain 1.2k
via RT <bug-libwww-perl@rt.cpan.org> writes: Show quoted text
> This message about libwww-perl was sent to you by MSTEVENS via rt.cpan.org > > <URL: https://rt.cpan.org/Ticket/Display.html?id=50 > > > Hi. > > I'm running perl 5.6.1 on debian linux. > > I'm trying to upgrade my machine to the latest version of LWP::UserAgent, and have found > the following problem: >
> cpan> r
> > Package namespace installed latest in CPAN file > HTTP::Cookies 1.16 1.19 G/GA/GAAS/libwww-perl-5.61.tar.gz > LWP::UserAgent 1.80 1.99 G/GA/GAAS/libwww-perl-5.60.tar.gz > > 5.61 installs for me, but leaves LWP::UserAgent out of date. > 5.60 won't install for me, and would presumably leave HTTP::Cookies out of date.
What happened is that LWP::UserAgent picks up it version number from RCS's $Revision$ using the following trick: $VERSION = sprintf("%d.%02d", q$Revision: 1.99 $ =~ /(\d+)\.(\d+)/); For 5.61 the revision number went from 1.99 to 1.100. Since as float/string 1.100 < 1.99 it looks like the new LWP::UserAgent is older. This will certainly be fixed for 5.62. Show quoted text
> 5.60 fails live/google, with the following content:
Google blocked us so this test is not there for 5.61. Regards, Gisle


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.