Test::Data3pm
Usage
use Test::Data qw(Scalar Array Hash Function);
Overview
Test::Data provides utility functions to check properties and values of data and variables.
Functions
Plug-in modules define functions for each data type. See the appropriate module.
How it works
The Test::Data module simply emports functions from Test::Data::* modules. Each module defines a self-contained function, and puts that function name into @EXPORT. Test::Data defines its own import function, but that does not matter to the plug-in modules.
If you want to write a plug-in module, follow the example of one that already exists. Name the module Test::Data::Foo, where you replace Foo with the right name. Test::Data should automatically find it.
Source availability
This source is in Github:
https://github.com/briandfoy/test-data
Copyright and license
Copyright © 2002-2025, brian d foy <[email protected]>. 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.
Releases
7 releases since Debian 7 (Wheezy); the text changed 5 times.