Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Recent Change of cpm

Shoichi Kaji
November 19, 2016
9

Recent Change of cpm

Shoichi Kaji

November 19, 2016
Tweet

Transcript

  1. 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
  2. Yes, the main feature of cpm is fastness. But it

    has also some features, which might interest you.
  3. 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.
  4. 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
  5. 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!