When you want to deploy an application and its dependencies, and don't want to risk an incompatibility problem in case some CPAN modules have new versions, Tatsuhiko Miygawa wrote Carton. It looks really nice, see the presentation!
  • Comment on Seen in PerlWeekly newsletter: Carton CPAN dependency manager

Replies are listed 'Best First'.
Re: See in PerlWeekly newsletter: Carton CPAN dependency manager
by Anonymous Monk on Oct 17, 2011 at 12:38 UTC

    The managed dependencies are tracked in a *carton.lock* file

    Somehow that doesn't sit right with me :)

    Sure, the tool is called carton, but .lock doesn't exactly convey managed dependencies, and carton doesn't exactly convey managed dependencies

    And then, you have to use

    cpanp z Foo ... carton install

    First time I had to do this, I created a Bundle::

    When Task came out, so I created a Task::

    Once I included the tarballs with Module::Install::Bundle

    Other times I just call cpanp , local::lib-style

    I might appreciate carton more once I turn to steam and land in the cloud :)

    I do understand, this being from miyagawa, has a real use-case in mind, and being inspired by popular thing, it will probably be filled with lots of steamy pop goodness

    So as miyagawa says, I'm probably going to keep doing what i'm doing, and that is just fine :)