Test::...::Hash(3pm)

πŸ“¦
version 0.2.2 Β· 2 versions
, in fedora 43

πŸ’– Test::Data::Split::Backend::Hash πŸ’–

okay bestie, gather round, because this is Test::Data::Split::Backend::Hash(3pm) β€” yes, the hash backend β€” and she is small but she is mighty ✨

🌸 VERSION 🌸

version 0.2.2 β€” that's the one, no cap πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the whole vibe, literally:

package DataSplitHashTest;

use strict;
use warnings;

use parent 'Test::Data::Split::Backend::Hash';

my %hash =
(
    a => { more => "Hello"},
    b => { more => "Jack"},
    c => { more => "Sophie"},
    d => { more => "Danny"},
    'e100_99' => { more => "Zebra"},
);

sub get_hash
{
    return \%hash;
}

1;

see how a, b, c, d and the iconic 'e100_99' are all just vibing in there? yeah. that's the whole thing. slay πŸ’…


✨ DESCRIPTION ✨

So this is a hash backend for Test::Data::Split. That's it, that's the description. It shows up, it holds your hash, it does its job, it goes home. main character behavior honestly πŸŽ€


🧚 METHODS 🧚

new()

For internal use. not for you, bestie β€” she's busy. πŸ™ˆ

$obj->lookup_data($id)

Looks up the data with the ID $id. you give her an id, she gives you the goods. πŸ’–

$obj->list_ids()

Lists the IDs β€” needed by Test::Data::Split. yes the semicolon is right there in the original, we don't question it, we respect it 😭

$obj->get_hash()

okay so this one is the moment. This method should be implemented and return a hash reference to the keys/values of the data. it's giving "you do the work, I'll handle the rest" 🫢


🌈 SUPPORT 🌈

πŸ’» Websites πŸ’»

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources. (yes queen, go forth and google πŸ”)

  • 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>. You will be automatically notified of any progress on the request by the system. (the system will keep you posted, bestie, she's not gonna ghost you πŸ“¬)

πŸ“‚ 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 :) β€” lowkey the most casual invitation ever and I'm obsessed πŸ₯Ή

<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>


πŸ’€ 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. fr fr, a failing test is worth a thousand words πŸ“

real talk: no test-file, no repro, and it's giving "trust me bro" β€” so bring the receipts πŸ’…

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, bestie πŸ¦‹ this was perl v5.42.0, dated 2025-07-25, and yes the manual name is still Test::...::Hash(3pm) because she's mysterious like that ✨ mwah, bye πŸ’–

πŸ“¦ where this page comes from