![]() |
![]()
| ![]() |
![]()
NAMEAlgorithm::Dependency::Item - Implements an item in a dependency hierarchy. VERSIONversion 1.112 DESCRIPTIONThe Algorithm::Dependency::Item class implements a single item within the dependency hierarchy. 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 ). METHODSnew $id, @dependsThe "new" 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 "Algorithm::Dependency::Item" on success, or "undef" on error. idThe "id" method returns the id of the item. dependsThe "depends" method returns, as a list, the names of the other items that this item depends on. SEE ALSOAlgorithm::Dependency SUPPORTBugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Algorithm-Dependency> (or bug-Algorithm-Dependency@rt.cpan.org <mailto:bug-Algorithm-Dependency@rt.cpan.org>). AUTHORAdam Kennedy <adamk@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2003 by Adam Kennedy. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|