On 12 September 2011 14:33, Aristotle Pagaltzis <[email protected]> wrote: > * Carl Franks <[email protected]> [2011-09-12 15:15]: >> Something must have gone wrong during the installation of >> Moose, as we depend on Moose and Moose::Role is part of that >> package. > > You’re Doing It Wrong then. > > You should always declare a dependency on every single module you > `use`, not just on the “main” module of the distributions that > you ended up installing, because dependency resolution follows > modules, not distros. > > If you have done it right, then if any upstream distros get split > or combined (cf. LWP for a recent case), you won’t have to fix a > thing: the CPAN client will figure out the set of distros it has > to install, for you, automatically, by itself. > > Don’t try to manually do the dependency solver’s work for it. You > can only do a worse job of it.
That entirely makes sense. I've updated our Makefile.PL to list all previously implicit or core prereqs. Thanks, Carl _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
