Test::...teHash(3pm)
π Test::Data::Split::Backend::ValidateHash π
okay bestie, welcome to the manual page for Test::Data::Split::Backend::ValidateHash, living its best life in the Test::...teHash(3pm) slot of your friendly neighborhood User Contributed Perl Documentation. pull up a chair, this one's short and sweet π
β¨ NAME β¨
Test::Data::Split::Backend::ValidateHash β a hash backend that does input validation and transformation. it's giving "we don't just store your data, we β¨curateβ¨ it." π
πΈ VERSION πΈ
version 0.2.2 β she's small but mighty, no cap.
π¦ SYNOPSIS π¦
See the tests.
that's it. that's the synopsis. the tests are the moment, iykyk π
π DESCRIPTION π
This one inherits from Test::Data::Split::Backend::Hash. like, that's its whole lineage. iconic family tree, honestly. π
π METHODS π
π« $pkg->populate([$id1,$data1,$id2,$data2,$id3,$data3...]); π«
okay so this populates the hash with the IDs and data you hand it, passed in as an even-lengthed array reference. and listen β the IDs must be unique, and the validate_and_transform method must be implemented. no shortcuts, bestie, that's the vibe check. β
It accepts an {id => $id, data => $data} hash reference, and then it either throws an exception or returns the transformed/mutated data (which can totally be the same as the original, no glow-up required). π
π«Ά SUPPORT π«Ά
π Websites π
the following websites have more info about this module and may be of help to you. and as always β beyond these, just use your fave search engine to go discover more resources. the internet is huge, go explore. π§
- MetaCPAN β a modern, open-source CPAN search engine, useful to view POD in HTML format. <https://metacpan.org/release/Test-Data-Split>
- RT: CPAN's Bug Tracker β the RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN. <https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Data-Split>
- CPANTS β the CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution. <http://cpants.cpanauthors.org/dist/Test-Data-Split>
- CPAN Testers β the CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions. <http://www.cpantesters.org/distro/T/Test-Data-Split>
- CPAN Testers Matrix β the CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms. <http://matrix.cpantesters.org/?dist=Test-Data-Split>
- CPAN Testers Dependencies β the CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution. <http://deps.cpantesters.org/?module=Test::Data::Split>
π Bugs / Feature Requests π
please report any bugs or feature requests by email to bug-test-data-split at rt.cpan.org, or through the web interface at <https://rt.cpan.org/Public/Bug/Report.html?Queue=Test-Data-Split>. and the best part? you will be automatically notified of any progress on the request by the system. so you'll never be left on read. π
π©π» Source Code π©π»
the code is open to the world, and available for you to hack on. please feel free to browse it and play with it, or whatever. if you want to contribute patches, please send me a diff or prod me to pull from your repository :) β main character energy, we love to see it.
<https://github.com/shlomif/perl-Test-Data-Split>
git clone git://github.com/shlomif/perl-Test-Data-Split.git
π AUTHOR π
Shlomi Fish <shlomif@cpan.org> β the legend themselves. π
π BUGS π
please report any bugs or feature requests on the bugtracker website <https://github.com/shlomif/perl-Test-Data-Split/issues>
when submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. receipts, bestie β we need receipts. π§Ύ
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2014 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
and that's the whole page, periodt. π
β¨ this was perl v5.42.0, dated 2025-07-25 β and you read it in the Test::...teHash(3pm) section of the User Contributed Perl Documentation. mwah, love u, go validate some hashes responsibly ππ¦
π¦ where this page comes from
- fedora 43: perl-Test-Data-Split 0.2.2-14.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms