-
-
28 Apr 2020 03:16:16 UTC
- Distribution: Algorithm-Dependency
- Module version: 1.112
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (1129 / 2 / 1)
- Kwalitee
Bus factor: 1- 85.27% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (42.01KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Algorithm::Dependency::Item - Implements an item in a dependency hierarchy.
VERSION
version 1.112
DESCRIPTION
The 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 ).
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, orundef
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.SEE ALSO
SUPPORT
Bugs may be submitted through the RT bug tracker (or bug-Algorithm-Dependency@rt.cpan.org).
AUTHOR
Adam Kennedy <adamk@cpan.org>
COPYRIGHT AND LICENSE
This 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.
Module Install Instructions
To install Algorithm::Dependency, copy and paste the appropriate command in to your terminal.
cpanm Algorithm::Dependency
perl -MCPAN -e shell install Algorithm::Dependency
For more information on module installation, please visit the detailed CPAN module installation guide.