Badger::Data::Facet::List::Size(3pm)

Badger::Data::Facet::List::Size3pm

Validation facet for the size of a list

Overview

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.

Author

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

From libbadger-perl 0.16-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.