1Hash::Layout::Level(3)User Contributed Perl DocumentationHash::Layout::Level(3)
2
3
4
6 Hash::Layout::Level - Level definition object for Hash::Layout
7
9 This class is used internally by Hash::Layout and is not meant to be
10 called directly. The list of hashrefs supplied to the levels param in
11 the "Hash::Layout" constructor are each used as the constructor
12 arguments passed to this class which create separate
13 "Hash::Layout::Level" objects for each level.
14
15 Please refer to the main Hash::Layout documentation for more info.
16
18 index
19 The index value of the level (first level is at index 0). This is
20 automatically supplied internally by "Hash::Layout".
21
22 name
23 An optional name/string value for this level. This is purely
24 informational and is not currently being used for anything.
25
26 delimiter
27 The character (or string) that is used by Hash::Layout when resolving
28 composite key strings in to fully qualified key paths and identifying
29 which part of the composite key should map to this level.
30
31 Defaults to a single forward-slash ("/").
32
33 registered_keys
34 An optional list (ArrayRef coerced into HashRef) of keys that are
35 associated specifically with this level. Like "delimiter", this meta-
36 data is used by Hash::Layout purely for mapping the sub-strings of a
37 composite key to a specific level.
38
39 See the implementation of filter() in DBIx::Class::Schema::Diff for the
40 best example of how "registered_keys" can be used.
41
43 ยท Hash::Layout
44
46 Henry Van Styn <vanstyn@cpan.org>
47
49 This software is copyright (c) 2014 by IntelliTree Solutions llc.
50
51 This is free software; you can redistribute it and/or modify it under
52 the same terms as the Perl 5 programming language system itself.
53
54
55
56perl v5.28.0 2014-07-26 Hash::Layout::Level(3)