1Test::Data::Split::BackUesnedr::CHoansthr(i3b)uted PerlTDeosctu:m:eDnattaat:i:oSnplit::Backend::Hash(3)
2
3
4
6 Test::Data::Split::Backend::Hash - hash backend.
7
9 version 0.2.1
10
12 package DataSplitHashTest;
13
14 use strict;
15 use warnings;
16
17 use parent 'Test::Data::Split::Backend::Hash';
18
19 my %hash =
20 (
21 a => { more => "Hello"},
22 b => { more => "Jack"},
23 c => { more => "Sophie"},
24 d => { more => "Danny"},
25 'e100_99' => { more => "Zebra"},
26 );
27
28 sub get_hash
29 {
30 return \%hash;
31 }
32
33 1;
34
36 This is a hash backend for Test::Data::Split .
37
39 version 0.2.1
40
42 new()
43 For internal use.
44
45 $obj->lookup_data($id)
46 Looks up the data with the ID $id.
47
48 $obj->list_ids()
49 Lists the IDs - needed by Test::Data::Split;
50
51 $obj->get_hash()
52 This method should be implemented and return a hash reference to the
53 keys/values of the data.
54
56 Shlomi Fish <shlomif@cpan.org>
57
59 This software is Copyright (c) 2014 by Shlomi Fish.
60
61 This is free software, licensed under:
62
63 The MIT (X11) License
64
66 Please report any bugs or feature requests on the bugtracker website
67 <https://github.com/shlomif/perl-Test-Data-Split/issues>
68
69 When submitting a bug or request, please include a test-file or a patch
70 to an existing test-file that illustrates the bug or desired feature.
71
73 Perldoc
74 You can find documentation for this module with the perldoc command.
75
76 perldoc Test::Data::Split::Backend::Hash
77
78 Websites
79 The following websites have more information about this module, and may
80 be of help to you. As always, in addition to those websites please use
81 your favorite search engine to discover more resources.
82
83 · MetaCPAN
84
85 A modern, open-source CPAN search engine, useful to view POD in
86 HTML format.
87
88 <https://metacpan.org/release/Test-Data-Split>
89
90 · Search CPAN
91
92 The default CPAN search engine, useful to view POD in HTML format.
93
94 <http://search.cpan.org/dist/Test-Data-Split>
95
96 · RT: CPAN's Bug Tracker
97
98 The RT ( Request Tracker ) website is the default bug/issue
99 tracking system for CPAN.
100
101 <https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Data-Split>
102
103 · AnnoCPAN
104
105 The AnnoCPAN is a website that allows community annotations of Perl
106 module documentation.
107
108 <http://annocpan.org/dist/Test-Data-Split>
109
110 · CPAN Ratings
111
112 The CPAN Ratings is a website that allows community ratings and
113 reviews of Perl modules.
114
115 <http://cpanratings.perl.org/d/Test-Data-Split>
116
117 · CPANTS
118
119 The CPANTS is a website that analyzes the Kwalitee ( code metrics )
120 of a distribution.
121
122 <http://cpants.cpanauthors.org/dist/Test-Data-Split>
123
124 · CPAN Testers
125
126 The CPAN Testers is a network of smoke testers who run automated
127 tests on uploaded CPAN distributions.
128
129 <http://www.cpantesters.org/distro/T/Test-Data-Split>
130
131 · CPAN Testers Matrix
132
133 The CPAN Testers Matrix is a website that provides a visual
134 overview of the test results for a distribution on various
135 Perls/platforms.
136
137 <http://matrix.cpantesters.org/?dist=Test-Data-Split>
138
139 · CPAN Testers Dependencies
140
141 The CPAN Testers Dependencies is a website that shows a chart of
142 the test results of all dependencies for a distribution.
143
144 <http://deps.cpantesters.org/?module=Test::Data::Split>
145
146 Bugs / Feature Requests
147 Please report any bugs or feature requests by email to
148 "bug-test-data-split at rt.cpan.org", or through the web interface at
149 <https://rt.cpan.org/Public/Bug/Report.html?Queue=Test-Data-Split>. You
150 will be automatically notified of any progress on the request by the
151 system.
152
153 Source Code
154 The code is open to the world, and available for you to hack on. Please
155 feel free to browse it and play with it, or whatever. If you want to
156 contribute patches, please send me a diff or prod me to pull from your
157 repository :)
158
159 <https://github.com/shlomif/perl-Test-Data-Split>
160
161 git clone git://github.com/shlomif/perl-Test-Data-Split.git
162
163
164
165perl v5.32.0 2020-07-28Test::Data::Split::Backend::Hash(3)