Repl::Spec::Type::BooleanType - A parameter guard for boolean values.
This type guard ensures that a boolean parameter was passed by the user. The guard converts truthy values to 1 and falsy values to 0.
Truthy values are "true", "ok", "on", "yes".
Falsy values are "false", "nok", "off", "no".
new()
guard()
Parameters: A single expression. Returns: 0 or 1.
name()
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:
You forgot a '=back' before '=head1'
To install Repl::Loop, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Repl::Loop
CPAN shell
perl -MCPAN -e shell install Repl::Loop
For more information on module installation, please visit the detailed CPAN module installation guide.