Algorithm::Dependency::Source::HoA(3pm)

Algorithm::Dependency::Source::HoA3pm

Source for a hash of arrays

Usage

  # The basic data structure
  my $deps = {
      foo => [ 'bar', 'baz' ],
      bar => [],
      baz => [ 'bar' ],
      };
  
  # Create the source from it
  my $Source = Algorithm::Dependency::Source::HoA->new( $deps );

Overview

"Algorithm::Dependency::Source::HoA" implements a source where the items names are provided in the most simple form, a reference to a "HASH" of "ARRAY" references.

Methods

This documents the methods differing from the ordinary Algorithm::Dependency::Source methods.

new $filename

When constructing a new "Algorithm::Dependency::Source::HoA" object, an argument should be provided of a reference to a HASH of ARRAY references, containing the names of other HASH elements.

Returns the object, or "undef" if the structure is not correct.

Support

To file a bug against this module, use the CPAN bug tracking system

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

For other comments, contact the author.

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.