The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Repl::Spec::Type::CheckedArrayType - A parameter guard for arrays.

SYNOPSIS

This type guard ensures that an array was passed containing elements of another nested type guard provided by the user. An example: a list of integers is ensured by creating a CheckedArrayType 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 elements of the array.

guard()

Parameters: A single expression. Returns: A new array where the elements 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'