Algorithm::Dependency::Item(3pm)

Algorithm::Dependency::Item3pm

Implements an item in a dependency heirachy.

Overview

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 ).

Methods

new $id, @depends

The "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.

id

The "id" method returns the id of the item.

depends

The "depends" method returns, as a list, the names of the other items that this item depends on.

Support

For general comments, contact the author.

To file a bug against this module, in a way you can keep track of, see the CPAN bug tracking system.

<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency>

Releases

10 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0–6.0
  3. 7–8
  4. 9–10
  5. 11–12
  6. 13

Author

Adam Kennedy <[email protected]>

From libalgorithm-dependency-perl 1.110-1.3 in Debian 13 (Trixie). Parsed by carta from the page's man source.