1Algorithm::Dependency::USsoeurrcCeo:n:tHroiAb(u3t)ed PerAllgDoorciutmhemn:t:aDteipoenndency::Source::HoA(3)
2
3
4
6 Algorithm::Dependency::Source::HoA - Source for a HASH of ARRAYs
7
9 # The basic data structure
10 my $deps = {
11 foo => [ 'bar', 'baz' ],
12 bar => [],
13 baz => [ 'bar' ],
14 };
15
16 # Create the source from it
17 my $Source = Algorithm::Dependency::Source::HoA->new( $deps );
18
20 "Algorithm::Dependency::Source::HoA" implements a source where the
21 items names are provided in the most simple form, a reference to a
22 "HASH" of "ARRAY" references.
23
25 This documents the methods differing from the ordinary Algo‐
26 rithm::Dependency::Source methods.
27
28 new $filename
29
30 When constructing a new "Algorithm::Dependency::Source::HoA" object, an
31 argument should be provided of a reference to a HASH of ARRAY refer‐
32 ences, containing the names of other HASH elements.
33
34 Returns the object, or "undef" if the structure is not correct.
35
37 To file a bug against this module, use the CPAN bug tracking system
38
39 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency>
40
41 For other comments, contact the author.
42
44 Adam Kennedy, <http://ali.as/>, cpan@ali.as
45
47 Algorithm::Dependency, Algorithm::Dependency::Source
48
50 Copyright (c) 2003 - 2005 Adam Kennedy.
51
52 This program is free software; you can redistribute it and/or modify it
53 under the same terms as Perl itself.
54
55 The full text of the license can be found in the LICENSE file included
56 with this module.
57
58
59
60perl v5.8.8 2008-01-A1l4gorithm::Dependency::Source::HoA(3)