新しいblogに移行しました

新ブログ "All Yout Bugs Are Belong To Ass" に移行しました!

2011-01-21

[Perl]Solution for when access to CPAN Meta DB was denied to cpanm

I want to read this topic especially who lives in China --- if you can see this website ---.

If you are waited for cpanm so long long time, maybe, cause is deny of access to CPAN Meta DB.
$ cpanm Data::Model
...
...
### a minute later... ###
...
... omg, too late.
...
### 5 mins later... ###
...
... Ahhhhhhh!! so long! 
...
I was encountered this case on server in Beijin.
I guess, because Google App Engine was denied to access from China, and CPAN Meta DB works on GAE.

A solution.
$ cpanm --mirror http://www.cpan.org/ --mirror-only Data::Model

Clever cpanm! :)

miyagawa++;

0 件のコメント: