1Algorithm::Dependency::UIsteerm(C3o)ntributed Perl DocumAelngtoartiitohnm::Dependency::Item(3)
2
3
4

NAME

6       Algorithm::Dependency::Item - Implements an item in a dependency
7       heirachy.
8

DESCRIPTION

10       The Algorithm::Dependency::Item class implements a single item within
11       the dependency heirachy. It's quite simple, usually created from within
12       a source, and not typically created directly. This is provided for
13       those implementing their own source. ( See
14       Algorithm::Dependency::Source for details ).
15

METHODS

17   new $id, @depends
18       The "new" constructor takes as its first argument the id ( name ) of
19       the item, and any further arguments are assumed to be the ids of other
20       items that this one depends on.
21
22       Returns a new "Algorithm::Dependency::Item" on success, or "undef" on
23       error.
24
25   id
26       The "id" method returns the id of the item.
27
28   depends
29       The "depends" method returns, as a list, the names of the other items
30       that this item depends on.
31

SUPPORT

33       For general comments, contact the author.
34
35       To file a bug against this module, in a way you can keep track of, see
36       the CPAN bug tracking system.
37
38       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency>
39

AUTHOR

41       Adam Kennedy <adamk@cpan.org>
42

SEE ALSO

44       Algorithm::Dependency
45
47       Copyright 2003 - 2009 Adam Kennedy.
48
49       This program is free software; you can redistribute it and/or modify it
50       under the same terms as Perl itself.
51
52       The full text of the license can be found in the LICENSE file included
53       with this module.
54
55
56
57perl v5.28.0                      2009-04-14    Algorithm::Dependency::Item(3)
Impressum