Algorithm::Dependency::Source::HoA - Source for a HASH of ARRAYs


Algorithm-Dependency documentation  | view source Contained in the Algorithm-Dependency distribution.

Index


NAME

Top

Algorithm::Dependency::Source::HoA - Source for a HASH of ARRAYs

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

Top

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.

AUTHOR

Top

Adam Kennedy <adamk@cpan.org>

SEE ALSO

Top

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

COPYRIGHT

Top


Algorithm-Dependency documentation  | view source Contained in the Algorithm-Dependency distribution.