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

NAME

Repl::Spec::Type::StringEnumType - A parameter guard for strings that can have a value from a restricted set of string constants.

SYNOPSIS

This type guard ensures that a string parameter was passed by the user matching a string out of a set of string constants.

DESCRIPTION

Methods

new()

A set of strings from which the values are choosen.

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 28:

You forgot a '=back' before '=head1'