http://www.perlmonks.org?node_id=1076797


in reply to Will I break CPAN?

Have you seen Test::DependentModules?

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Replies are listed 'Best First'.
Re^2: Will I break CPAN?
by Tux (Canon) on Mar 03, 2014 at 17:30 UTC

    Yes, I did, after reading Moose test file I was pointed to, which also uses MetaCPAN::API. By that time my own script already worked.

    Moose does have a good reason to roll its own. Look at the list of expected failures, which they nicely documented.

    I used the modules I already had available and did not realize I also had MetaCPAN::API installed. Now I do.

    I see a value for all three approaches. Maybe I'll simplify to using Test::DependentModules now that I am aware of it. I did look, but probably typoed on Dependant :/

    $ modlist depending $ modlist dependant Module name Description + Version Statistics::DependantTTest $ modlist dependent Module name Description + Version MooseX::Attribute::Dependent MooseX::Attribute::Dependent::Meta::Role::ApplicationToClass MooseX::Attribute::Dependent::Meta::Role::ApplicationToRole MooseX::Attribute::Dependent::Meta::Role::Attribute MooseX::Attribute::Dependent::Meta::Role::Class MooseX::Attribute::Dependent::Meta::Role::Composite MooseX::Attribute::Dependent::Meta::Role::Method::Accessor MooseX::Attribute::Dependent::Meta::Role::Method::Constructor MooseX::Attribute::Dependent::Meta::Role::Role Mpp::BuildCheck::architecture_independent Test::DependentModules WAIT::Table::Independent $

    My English can probably be improved a lot


    Enjoy, Have FUN! H.Merijn