On 01/02/13 03:37, Matt S Trout wrote:
On Thu, Jan 31, 2013 at 01:36:23PM -0600, brian d foy wrote:
I was able to download the right file with LWP. I checked inside the
package to ensure it was the right version:
use LWP::Simple;
use v5.10;
my $code = getstore(
'http://www.cpan.org/authors/id/W/WY/WYANT/PPIx-Regexp-0.030.tar.gz',
'/Users/brian/Desktop/PPIx-Regexp-0.030.tar.gz'
);
say "code is $code";
matthewt@sherlock$ perl getstore-test
code is 404
matthewt@sherlock$ host www.cpan.org
www.cpan.org is an alias for cpan-www.develooper.com.
cpan-www.develooper.com is an alias for cpan-global.l.develooper.org.
cpan-global.l.develooper.org has address 212.117.177.118
cpan-global.l.develooper.org has IPv6 address 2620:101:d000:8::140:1
cpan-global.l.develooper.org has IPv6 address 2a01:608:2:4::2
Could you try the 'host' thing and see if you're contacting a different
machine?
Info:
We now have a new version of this Module, which installs OK :)
but I think it dose not negate the previous versions issue, and any
other Modules which could suffer from this in the future or present, can
you imagine the fun if it happened to core.
regards
kevin
cpan[2]> install PPIx::Regexp
Running install for module 'PPIx::Regexp'
Running make for W/WY/WYANT/PPIx-Regexp-0.031.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/W/WY/WYANT/PPIx-Regexp-0.031.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/W/WY/WYANT/CHECKSUMS
Checksum for
/home/kevin/.cpan/sources/authors/id/W/WY/WYANT/PPIx-Regexp-0.031.tar.gz ok