Me
• Shoichi Kaji
• CPAN: SKAJI
• Perl5: cpm, fatpacker-simple, Mojo::SlackRTM
• Perl6: mi6, frinfon
• I went to Apache Big Data Europe
Spain Sevilla, Nov 12-14, 2016
Slide 3
Slide 3 text
What is cpm?
Slide 4
Slide 4 text
cpm is a fast
CPAN client
Slide 5
Slide 5 text
No content
Slide 6
Slide 6 text
No content
Slide 7
Slide 7 text
Yes, the main feature of cpm is
fastness.
But it has also some features,
which might interest you.
Slide 8
Slide 8 text
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.
Slide 9
Slide 9 text
Future of cpm
• cpanminus is a widly used, stable CPAN
client.
• So it is a little bit difficult to add new feature
to cpanminus.
• Let’s think cpm of sandbox and let’s see
what is useful with cpm
Slide 10
Slide 10 text
Some idea
• custom resolver:
> cpm install script:plackup
> cpm install —custom-resolver resolver.pl Your::Module
• add hook points:
inject dependencies
modify Makefile.PL
• add some syntax/rules into cpanfile/snapshot:
arch name
configure_args
• Do you have any idea or problems? Let’s talk to me!