• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

inc/Module/H16-Aug-2008-1,4821,094

lib/Module/Math/H16-Aug-2008-19963

t/H16-Aug-2008-14688

ChangesH A D16-Aug-2008152 85

LICENSEH A D16-Aug-200819.7 KiB379304

MANIFESTH A D16-Aug-2008386 2120

META.ymlH A D16-Aug-2008529 2625

Makefile.PLH A D16-Aug-2008274 118

READMEH A D16-Aug-20082.4 KiB8255

README

1NAME
2    Module::Math::Depends - Convenience object for manipulating module
3    dependencies
4
5DESCRIPTION
6    This is a small convenience module created originally as part of
7    Module::Inspector but released seperately, in the hope that people might
8    find it useful in other contexts.
9
10METHODS
11  new
12      my $deps = Module::Math::Depends->new;
13
14    Creates a new, empty, dependency set.
15
16  from_hash
17      my $deps = Module::Math::Depends->from_hash( \%modules );
18
19    Creates a new dependency set from a raw hashref of modules names and
20    versions.
21
22  add_module
23      $deps->add_module( 'My::Module' => '1.23' );
24
25    Adds a single module dependency to the set.
26
27    Returns true, or dies on error.
28
29  merge
30      $my_deps->merge( $your_deps );
31
32    The "merge" method takes another dependency set and merges it into the
33    current one, taking the highest version where both sets contain a
34    module.
35
36    Returns true or dies on error.
37
38  as_string
39      print $depends->as_string;
40
41    Converts the dependency set to a simple printable string.
42
43SUPPORT
44    This module is stored in an Open Repository at the following address.
45
46    <http://svn.ali.as/cpan/trunk/Module-Math-Depends>
47
48    Write access to the repository is made available automatically to any
49    published CPAN author, and to most other volunteers on request.
50
51    If you are able to submit your bug report in the form of new (failing)
52    unit tests, or can apply your fix directly instead of submitting a
53    patch, you are strongly encouraged to do so as the author currently
54    maintains over 100 modules and it can take some time to deal with
55    non-Critcal bug reports or patches.
56
57    This will guarentee that your issue will be addressed in the next
58    release of the module.
59
60    If you cannot provide a direct test or fix, or don't have time to do so,
61    then regular bug reports are still accepted and appreciated via the CPAN
62    bug tracker.
63
64    <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-Math-Depends>
65
66    For other issues, for commercial enhancement or support, or to have your
67    write access enabled for the repository, contact the author at the email
68    address above.
69
70AUTHORS
71    Adam Kennedy <adamk@cpan.org>
72
73COPYRIGHT
74    Copyright 2006 - 2008 Adam Kennedy.
75
76    This program is free software; you can redistribute it and/or modify it
77    under the same terms as Perl itself.
78
79    The full text of the license can be found in the LICENSE file included
80    with this module.
81
82