NAME
Repl::Spec::Type::CheckedHashType - A parameter guard for hashes.
SYNOPSIS
This type guard ensures that a hash was passed containing values of another nested type guard provided by the user. An example: a hash of integers is ensured by creating a CheckedHashType with nested IntegerType. The guards can be nested arbitrarily to obtain a guard for whatever complex nested type.
DESCRIPTION
Methods
new()
-
Parameters: A nested guard that will be applied to the values of the hash.
guard()
-
Parameters: A single expression. Returns: A new hash where the values are converted by the nested type guard.
name()
SEE ALSO
Repl::Spec::Type::BooleanType Repl::Spec::Type::CheckedArrayType Repl::Spec::Type::CheckedHashType Repl::Spec::Type::InstanceType Repl::Spec::Type::IntegerRangeType Repl::Spec::Type::IntegerType Repl::Spec::Type::PatternType Repl::Spec::Type::StringEnumType
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 29:
You forgot a '=back' before '=head1'