Recent Change of cpm
Click here to load reader
-
Upload
shoichi-kaji -
Category
Engineering
-
view
291 -
download
2
Transcript of Recent Change of cpm
![Page 1: Recent Change of cpm](https://reader038.fdocuments.us/reader038/viewer/2022100807/58746f941a28abab198b95c1/html5/thumbnails/1.jpg)
Recent Changes of cpmShoichi Kaji
![Page 2: Recent Change of cpm](https://reader038.fdocuments.us/reader038/viewer/2022100807/58746f941a28abab198b95c1/html5/thumbnails/2.jpg)
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](https://reader038.fdocuments.us/reader038/viewer/2022100807/58746f941a28abab198b95c1/html5/thumbnails/3.jpg)
What is cpm?
![Page 4: Recent Change of cpm](https://reader038.fdocuments.us/reader038/viewer/2022100807/58746f941a28abab198b95c1/html5/thumbnails/4.jpg)
cpm is a fastCPAN client
![Page 7: Recent Change of cpm](https://reader038.fdocuments.us/reader038/viewer/2022100807/58746f941a28abab198b95c1/html5/thumbnails/7.jpg)
Yes, the main feature of cpm is fastness.
BTW it has also some features, which might interest you.
![Page 8: Recent Change of cpm](https://reader038.fdocuments.us/reader038/viewer/2022100807/58746f941a28abab198b95c1/html5/thumbnails/8.jpg)
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](https://reader038.fdocuments.us/reader038/viewer/2022100807/58746f941a28abab198b95c1/html5/thumbnails/9.jpg)
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](https://reader038.fdocuments.us/reader038/viewer/2022100807/58746f941a28abab198b95c1/html5/thumbnails/10.jpg)
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!