NAME
Repl::Spec::Type::PatternType - A parameter guard for strings matching a regular expression.
SYNOPSIS
This type guard ensures that a string parameter was passed by the user matching a specified regular expression.
DESCRIPTION
Methods
new()
-
A regular expression to which the values must conform.
guard()
-
Parameters: A single expression. Returns: The string value.
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 27:
You forgot a '=back' before '=head1'