Module::Install has been through a long period of gradual stability over the last year, without any really dramatic improvements to the grammar or APIs.
With the more urgent "it doesn't work with blah" stuff mostly solved now, one of the big remaining issues is around error clarity and excessive magic.
For example, some random author that is trying to checkout a Catalyst project needs:
1. To have Module::Install installed.
2. To have Module::Install::Catalyst installed.
In the case of the former, you get the semi-cryptic but at least standard "Can't find inc/Module/Install.pm in @INC" message, so the error is resolvable.
But in the latter case, you're likely to get something like "Unknown command 'catalyst_ignore'", with no real obvious resolution mechanism.
I think this idea of automatic plugin discovery is starting to hit it's limits in terms of clarity.
And so I'd like to do something counter to my natural instincts here, and make M:I more verbose.
I'm thinking of something like the following for explicitly declaring the use of a non-core Module::Install extension.
use inc::Module::Install qw{ Catalyst XSUtil };
This would both allow M:I to error with a much more meaningful error when you don't have a plugin, and also prevent the loading of unused plugins which should prevent accidental plugin collisions (some of which I've seen occurring in the CPAN Testers machines).
Thoughts?
Yes, please (Score:2)
I'm not a big fan of MI, and I think the main reason is it's too freaking magical. This "feature" is a perfect example of magic gone bad. It adds a _tiny_ bit of convenience (arguably less than tiny) while adding significant headaches for those who don't understand WTF is going on.
Re: (Score:1)
--fREW
http://blog.afoolishmanifesto.com
Yes, something like this (Score:1)
Waiting on the Road to Eventually, I lost my Place On Line
I think so (Score:1)
Please do! (Score:1)
"excessive magic" :) (Score:1)
Yes, agreed...
And a command-line option that lists the plugins for installing via cpanm would be great, too!
The new Strawberry Perl for Windows has been released! Check http://strawberryperl.com for it.