1Module::Math::Depends(3U)ser Contributed Perl DocumentatiMoondule::Math::Depends(3)
2
3
4

NAME

6       Module::Math::Depends - Convenience object for manipulating module
7       dependencies
8

DESCRIPTION

10       This is a small convenience module created originally as part of
11       Module::Inspector but released seperately, in the hope that people
12       might find it useful in other contexts.
13

METHODS

15   new
16         my $deps = Module::Math::Depends->new;
17
18       Creates a new, empty, dependency set.
19
20   from_hash
21         my $deps = Module::Math::Depends->from_hash( \%modules );
22
23       Creates a new dependency set from a raw hashref of modules names and
24       versions.
25
26   add_module
27         $deps->add_module( 'My::Module' => '1.23' );
28
29       Adds a single module dependency to the set.
30
31       Returns true, or dies on error.
32
33   merge
34         $my_deps->merge( $your_deps );
35
36       The "merge" method takes another dependency set and merges it into the
37       current one, taking the highest version where both sets contain a
38       module.
39
40       Returns true or dies on error.
41
42   as_string
43         print $depends->as_string;
44
45       Converts the dependency set to a simple printable string.
46

SUPPORT

48       This module is stored in an Open Repository at the following address.
49
50       <http://svn.ali.as/cpan/trunk/Module-Math-Depends>
51
52       Write access to the repository is made available automatically to any
53       published CPAN author, and to most other volunteers on request.
54
55       If you are able to submit your bug report in the form of new (failing)
56       unit tests, or can apply your fix directly instead of submitting a
57       patch, you are strongly encouraged to do so as the author currently
58       maintains over 100 modules and it can take some time to deal with non-
59       Critcal bug reports or patches.
60
61       This will guarentee that your issue will be addressed in the next
62       release of the module.
63
64       If you cannot provide a direct test or fix, or don't have time to do
65       so, then regular bug reports are still accepted and appreciated via the
66       CPAN bug tracker.
67
68       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-Math-Depends>
69
70       For other issues, for commercial enhancement or support, or to have
71       your write access enabled for the repository, contact the author at the
72       email address above.
73

AUTHORS

75       Adam Kennedy <adamk@cpan.org>
76
78       Copyright 2006 - 2008 Adam Kennedy.
79
80       This program is free software; you can redistribute it and/or modify it
81       under the same terms as Perl itself.
82
83       The full text of the license can be found in the LICENSE file included
84       with this module.
85
86
87
88perl v5.36.0                      2023-01-20          Module::Math::Depends(3)
Impressum