Test::Proto::HashRef - Prototype with methods for hashrefs
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.
All methods are provided by Test::Proto::Base or Test::Proto::Role::HashRef.
For author, version, bug reports, support, etc, please see Test::Proto.
To install Test::Proto, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Proto
CPAN shell
perl -MCPAN -e shell install Test::Proto
For more information on module installation, please visit the detailed CPAN module installation guide.