Badger::Data::Facet::Number::Max3pm
Validation facet for a minimum numerical value
Overview
This module implements a validation facet that assert that a numeric value is less than or equal to a pre-defined value.
Methods
This module implement the following method in addition to those inherited from the Badger::Data::Facet::Number, Badger::Data::Facet and Badger::Base base classes.
validate($value_ref, $type)
This method validates that the number passed by reference as the first argument is less than or equal to the pre-defined maximum limit.