Recent Change of cpm

10

Click here to load reader

Transcript of Recent Change of cpm

Page 1: Recent Change of cpm

Recent Changes of cpmShoichi Kaji

Page 2: Recent Change of cpm

Me• Shoichi Kaji

• CPAN: SKAJI

• Perl5: cpm, fatpacker-simple, Mojo::SlackRTM

• Perl6: mi6, frinfon

• I went to Apache Big Data EuropeSpain Sevilla, Nov 12-14, 2016

Page 3: Recent Change of cpm

What is cpm?

Page 4: Recent Change of cpm

cpm is a fastCPAN client

Page 7: Recent Change of cpm

Yes, the main feature of cpm is fastness.

BTW it has also some features, which might interest you.

Page 8: Recent Change of cpm

Features• (a) support git/dist syntax in cpanfile

• (b) install modules as if your perl version v5.X

• (c) install develop releases

• (d) flexible resolvers

• eg: integration with darkpan

• eg: native cpanfile.snapshot support

• Please look at App::cpm::Tutorial for details.

Page 9: Recent Change of cpm

Future of cpm

• cpanminus is a widly used, stable CPAN client.

• So it is a little bit difficult to add a new feature to cpanminus.

• Let’s think of cpm as sandbox and let’s see what is useful with cpm.

Page 10: Recent Change of cpm

Some idea• custom resolver:

> cpm install script:plackup > cpm install —custom-resolver resolver.pl Your::Module

• add hook points:inject dependenciesmodify Makefile.PL

• add some syntax/rules into cpanfile/snapshot:arch nameconfigure_args

• Do you have any idea or problems? Let’s talk to me!