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?

-- 
Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue

http://shadowcat.co.uk/blog/matt-s-trout/   http://twitter.com/shadowcat_mst/

Email me now on mst (at) shadowcat.co.uk and let's chat about how our Catalyst
commercial support, training and consultancy packages could help your team.

Reply via email to