man Algorithm::Dependency::Source::HoA () - Source for a HASH of ARRAYs

NAME

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

SYNOPSIS

  # 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

CWAlgorithm::Dependency::Source::HoA implements a source where the items names are provided in the most simple form, a reference to a CWHASH of CWARRAY references.

METHODS

This documents the methods differing from the ordinary Algorithm::Dependency::Source methods. When constructing a new CWAlgorithm::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 CWundef 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.

AUTHOR

Adam Kennedy, <http://ali.as/>, cpan@ali.as

SEE ALSO

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

COPYRIGHT

Copyright (c) 2003 - 2005 Adam Kennedy. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.