NAME

Getopt::Pad::Type::Number - numeric type base class

DESCRIPTION

Abstract base for numeric types: owns the min / max bounds and the range check, and coerces valid values to numbers. The bounds are checked when the spec is built (checkSpecKeys): each must be a number and min may not exceed max. Subclasses provide checkFormat, the format test that runs before the range check (see Int and Float).

Part of the Getopt::Pad distribution; see its documentation for the user-facing API.

AUTHOR

davenonymous <perl@davenonymous.com>

COPYRIGHT AND LICENSE

Copyright 2026 davenonymous

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.