1Algorithm::Dependency::UIsteerm(C3o)ntributed Perl DocumAelngtoartiitohnm::Dependency::Item(3)
2
3
4
6 Algorithm::Dependency::Item - Implements an item in a dependency
7 hierarchy.
8
10 version 1.111
11
13 The Algorithm::Dependency::Item class implements a single item within
14 the dependency hierarchy. It's quite simple, usually created from
15 within a source, and not typically created directly. This is provided
16 for those implementing their own source. ( See
17 Algorithm::Dependency::Source for details ).
18
20 new $id, @depends
21 The "new" constructor takes as its first argument the id ( name ) of
22 the item, and any further arguments are assumed to be the ids of other
23 items that this one depends on.
24
25 Returns a new "Algorithm::Dependency::Item" on success, or "undef" on
26 error.
27
28 id
29 The "id" method returns the id of the item.
30
31 depends
32 The "depends" method returns, as a list, the names of the other items
33 that this item depends on.
34
36 Algorithm::Dependency
37
39 Bugs may be submitted through the RT bug tracker
40 <https://rt.cpan.org/Public/Dist/Display.html?Name=Algorithm-
41 Dependency> (or bug-Algorithm-Dependency@rt.cpan.org <mailto:bug-
42 Algorithm-Dependency@rt.cpan.org>).
43
45 Adam Kennedy <adamk@cpan.org>
46
48 This software is copyright (c) 2003 by Adam Kennedy.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.32.1 2021-01-26 Algorithm::Dependency::Item(3)