Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Will I break CPAN?

by tobyink (Abbot)
on Mar 03, 2014 at 17:02 UTC ( #1076797=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Will I break CPAN?
Re^2: Will I break CPAN?
by Tux (Monsignor) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1076797]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-12-25 04:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls