1Algorithm::Dependency::UIsteerm(C3o)ntributed Perl DocumAelngtoartiitohnm::Dependency::Item(3)
2
3
4
6 Algorithm::Dependency::Item - Implements an item in a dependency
7 heirachy.
8
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 Algorithm::Depenā
14 dency::Source for details ).
15
17 new $id, @depends
18
19 The "new" constructor takes as its first argument the id ( name ) of
20 the item, and any further arguments are assumed to be the ids of other
21 items that this one depends on.
22
23 Returns a new "Algorithm::Dependency::Item" on success, or "undef" on
24 error.
25
26 id
27
28 The "id" method returns the id of the item.
29
30 depends
31
32 The "depends" method returns, as a list, the names of the other items
33 that this item depends on.
34
36 For general comments, contact the author.
37
38 To file a bug against this module, in a way you can keep track of, see
39 the CPAN bug tracking system.
40
41 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency>
42
44 Adam Kennedy <adamk@cpan.org>, <http://ali.as/>
45
47 Algorithm::Dependency
48
50 Copyright (c) 2003 - 2005 Adam Kennedy.
51
52 This program is free software; you can redistribute it and/or modify it
53 under the same terms as Perl itself.
54
55 The full text of the license can be found in the LICENSE file included
56 with this module.
57
58
59
60perl v5.8.8 2008-01-14 Algorithm::Dependency::Item(3)