Badger::Data::Facet::List::Size - validation facet for the size of a list
This module implements a validation facets that checks the size of a list.
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.
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.
Andy Wardley http://wardley.org/
Copyright (C) 2008-2012 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Badger::Base, Badger::Data::Facet, Badger::Data::Facet::List.
To install Badger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Badger
CPAN shell
perl -MCPAN -e shell install Badger
For more information on module installation, please visit the detailed CPAN module installation guide.