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 version 1.111
10
12 # The basic data structure
13 my $deps = {
14 foo => [ 'bar', 'baz' ],
15 bar => [],
16 baz => [ 'bar' ],
17 };
18
19 # Create the source from it
20 my $Source = Algorithm::Dependency::Source::HoA->new( $deps );
21
23 "Algorithm::Dependency::Source::HoA" implements a source where the
24 items names are provided in the most simple form, a reference to a
25 "HASH" of "ARRAY" references.
26
28 This documents the methods differing from the ordinary
29 Algorithm::Dependency::Source methods.
30
31 new $filename
32 When constructing a new "Algorithm::Dependency::Source::HoA" object, an
33 argument should be provided of a reference to a HASH of ARRAY
34 references, containing the names of other HASH elements.
35
36 Returns the object, or "undef" if the structure is not correct.
37
39 Algorithm::Dependency, Algorithm::Dependency::Source
40
42 Bugs may be submitted through the RT bug tracker
43 <https://rt.cpan.org/Public/Dist/Display.html?Name=Algorithm-
44 Dependency> (or bug-Algorithm-Dependency@rt.cpan.org <mailto:bug-
45 Algorithm-Dependency@rt.cpan.org>).
46
48 Adam Kennedy <adamk@cpan.org>
49
51 This software is copyright (c) 2003 by Adam Kennedy.
52
53 This is free software; you can redistribute it and/or modify it under
54 the same terms as the Perl 5 programming language system itself.
55
56
57
58perl v5.28.1 2018-12-A2l2gorithm::Dependency::Source::HoA(3)