Implements an item in a dependency heirachy.
The Algorithm::Dependency::Item class implements a single item within the dependency heirachy. It's quite simple, usually created from within a source, and not typically created directly. This is provided for those implementing their own source. ( See Algorithm::Dependency::Source for details ).
The \*(C`new\*(C' constructor takes as its first argument the id ( name ) of the item, and any further arguments are assumed to be the ids of other items that this one depends on.
Returns a new \*(C`Algorithm::Dependency::Item\*(C' on success, or \*(C`undef\*(C' on error.
The \*(C`id\*(C' method returns the id of the item.
The \*(C`depends\*(C' method returns, as a list, the names of the other items that this item depends on.
For general comments, contact the author.
To file a bug against this module, in a way you can keep track of, see the \s-1CPAN\s0 bug tracking system.
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency>
Adam Kennedy <[email protected]>
Algorithm::Dependency
Copyright 2003 - 2009 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the \s-1LICENSE\s0 file included with this module.