Test::Data(3pm)
β¨ Test::Data β¨
okay so bestie, welcome to Test::Data (that's the Test::Data(3pm) situation, User Contributed Perl Documentation edition) β literally the manual page for Test::Data, and it's giving "utility functions to check ur data's whole vibe." no cap. π«Ά
π NAME π
Test::Data β test functions for particular variable types. that's it, that's the name, slay. π
πΈ SYNOPSIS πΈ
use Test::Data qw(Scalar Array Hash Function);
that's literally all u need to type to get started, bestie. four little words in the qw(), one big glow-up. β¨
π¦ DESCRIPTION π¦
so Test::Data hands u utility functions that check the properties and values of data and variables. like, it's a vibe check but for ur variables. π
π Functions π
plug-in modules define functions for each data type. go look at the appropriate module, okay?? each one does its own thing and it's iconic for that. β
π§ How it works π§
okay the tea: the Test::Data module simply emports functions from Test::Data::* modules. yes, emports. we keep it exactly as written, it's part of the lore. π
each module defines a self-contained function, and puts that function name into @EXPORT. Test::Data defines its own import function, but honestly that does not matter to the plug-in modules β they don't care, they're booked and busy. π
want to write ur own plug-in module?? main character move, go off. follow the example of one that already exists. name the module Test::Data::Foo, where u replace Foo with the right name. Test::Data should automatically find it. no extra config, no drama, it just β¨finds itβ¨. π
π BUGS π
ok so real talk: "I'm not a very good Windows Perler, so some things don't work as they should on Windows." π
they recently got a Windows box so they can actually test things now, but if u run into problems β pls, they can use all the patches or advice you care to send. all of it. every crumb. send it. π«Ά
π₯ SEE ALSO π₯
Test::Data::ScalarTest::Data::ArrayTest::Data::HashTest::Data::FunctionTest::Builder
go read those too, iykyk. π
π SOURCE AVAILABILITY π
the source lives in Github:
https://github.com/briandfoy/test-data
click it, clone it, star it, it's the whole vibe. β
π AUTHOR π
brian d foy, "<briandfoy@pobox.com>"
π COPYRIGHT AND LICENSE π
Copyright Β© 2002-2025, brian d foy <briandfoy@pobox.com>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
legal speak but make it cute: yes u can redistribute and/or modify it, just keep it under the Artistic License 2.0. periodt. π
and that's the whole page bestie!! πβ¨ this was Test::Data(3pm) from perl v5.40.1, dated 2025-04-17 β go forth and test ur data, u absolute icon. ππ¦π
π¦ where this page comes from
- debian trixie: libtest-data-perl 1.248-1 Β· Artistic-2.0
- ubuntu resolute: libtest-data-perl 1.248-1 Β· Artistic-2.0
- ubuntu stonking: libtest-data-perl 1.248-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms