logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Badger::Data::Facet::List::Size - validation facet for the size of a list

Author

       Andy Wardley <http://wardley.org/>

Description

       This module implements a validation facets that checks the size of a list.

Methods

       This module implement the following method in addition to those inherited from the
       Badger::Data::Facet::List, Badger::Data::Facet and Badger::Base base classes.

   validate($list_ref,$type)
       This method validates that the size of the list (i.e. number of elements) passed by reference as the
       first  argument equals to the pre-defined size.

Name

       Badger::Data::Facet::List::Size - validation facet for the size of a list

See Also

       Badger::Base, Badger::Data::Facet, Badger::Data::Facet::List.

perl v5.36.0                                       2023-08-28               Badger::Data::Facet::List::Size(3pm)

See Also