Query: module::depends
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Module::Depends(3pm) User Contributed Perl Documentation Module::Depends(3pm)NAMEModule::Depends - identify the dependencies of a distributionSYNOPSISuse Module::Depends; my $deps = Module::Depends->new->dist_dir( '.' )->find_modules; print "Our dependencies: ", Dump $deps->requires;DESCRIPTIONModule::Depends extracts module dependencies from an unpacked distribution tree. Module::Depends only evaluates the META.yml shipped with a distribution. This won't be effective until all distributions ship META.yml files, so we suggest you take your life in your hands and look at Module::Depends::Intrusive.METHODSnew simple constructor dist_dir Path where the distribution has been extracted to. find_modules scan the "dist_dir" to populate "libs", "requires", "configure_requires", "test_requires", and "build_requires" libs an array reference of lib lines requires A reference to a hash enumerating the prerequisite modules for this distribution. configure_requires A reference to a hash enumerating the prerequisite modules to configure this distribution. build_requires A reference to a hash enumerating the modules needed to build the distribution. error A reason, if any, for failing to get dependencies.AUTHORRichard Clamp, based on code extracted from the Fotango build system originally by James Duncan and Arthur Bergman.COPYRIGHTCopyright 2010, Richard Clamp. Copyright 2004-2008, Fotango. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.SEE ALSOModule::Depends::Intrusive perl v5.14.2 2012-06-10 Module::Depends(3pm)
Similar Topics in the Unix Linux Community |
---|
Boot Problem |
Linspire is going away |
Richard Veryard on Uncertainty |
Procmail Module Library 2008.1108 (Default branch) |