Bruno Ranschaert > Repl-Loop-1.00 > Repl::Spec::Type::IntegerRangeType

Download:
Repl-Loop-1.00.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Repl::Spec::Type::IntegerRangeType - A parameter guard for integer ranges.

SYNOPSIS ^

This type guard ensures that an integer, range bound parameter was passed by the user.

DESCRIPTION ^

Methods ^

new()

Parameters: from and to to indicate the range.

guard()

Parameters: A single expression. Returns: The integer 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

syntax highlighting: