GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MODULE::DEPENDS (3)

.ds Aq ’

NAME

Module::Depends - identify the dependencies of a distribution

CONTENTS

SYNOPSIS



 use YAML;
 use Module::Depends;
 my $deps = Module::Depends->new->dist_dir( . )->find_modules;
 print "Our dependencies:\n", Dump $deps->requires;



DESCRIPTION

Module::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.

METHODS

    new

simple constructor

    dist_dir

Path where the distribution has been extracted to.

    find_modules

scan the dist_dir to populate libs, 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.

AUTHOR

Richard Clamp, based on code extracted from the Fotango build system originally by James Duncan and Arthur Bergman.

COPYRIGHT

Copyright 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 ALSO

Module::Depends::Intrusive
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MODULE::DEPENDS (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.