Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Plenv and perl build, and search.cpan.org

345 views

Published on

@Shibuya.pm

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Plenv and perl build, and search.cpan.org

  1. 1. plenv and perl-build, and search.cpan.org Tokuhiro Matsuno @LINE Corp
  2. 2. Which is the your preferred perl binary manager? Perlbrew or plenv?
  3. 3. Perlbrew developers and plenv developers work at LINE.
  4. 4. plenv’s architecture plenv invokes perl-build plenv install 5.28.0 → perl-build 5.28.0 ~/.plenv/versions/5.28.0
  5. 5. How perl-build works Get binary tar ball URL from… ● CPAN::Perl::Releases ● http://perl-releases.s3-website-us-east-1.amazonaws.com/ ● http://search.cpan.org/dist/perl-5.28.0
  6. 6. How perl-build works Get binary tar ball URL from… ● CPAN::Perl::Releases ○ UPDATE REQUIRES re-fatpacking ● http://perl-releases.s3-website-us-east-1.amazonaws.com/ ○ NOT UPDATED ● http://search.cpan.org/dist/perl-5.28.0 ○ SCO WILL BE RETIRED
  7. 7. $ ./perl-build 5.28.0 /tmp/5.28.0 WARN: [cpan_perl_releases] not found the tarball for perl-5.28.0 WARN: [perl_releases_page] This page is 3 or more days old. ignore WARN: [search_cpan_org] not found the tarball for perl-5.28.0 ERROR: Cannot find the tarball for perl-5.28.0
  8. 8. Please update your perl-build to 1.20+ Get binary tar ball URL from… ● CPAN::Perl::Releases ○ UPDATE REQUIRES re-fatpacking ● CPAN::Perl::Releases::MetaCPAN ○ Fetching update information from MetaCPAN API
  9. 9. cd ~/.plenv/plugins/perl-build/ && git pull How do I upgrade perl-build?
  10. 10. We’re hiring!

×