NAME
Test::Proto::HashRef - Prototype with methods for hashrefs
SYNOPSIS
use
Test::Proto::HashRef;
my
$pHr
= Test::Proto::HashRef->new();
$pHr
->enumerate(2, [[
'a'
,
'b'
],[
'c'
,
'd'
]]);
$pHr
->ok({
a
=>
'b'
,
c
=>
'd'
});
Use this class for validating hashes and hashrefs. If you have hashes, you must put them in a reference first.
METHODS
All methods are provided by Test::Proto::Base or Test::Proto::Role::HashRef.
OTHER INFORMATION
For author, version, bug reports, support, etc, please see Test::Proto.