Ubuntu Manpages

Algorithm::Dependency::Source::HoA

Source for a HASH of ARRAYs

version 1.112

  # 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 );

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

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

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.

Algorithm::Dependency, Algorithm::Dependency::Source

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

Adam Kennedy <adamk@cpan.org>

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.