Badger...axSize(3pm)
β¨ NAME β¨
Badger::Data::Facet::List::MaxSize β it's a validation facet for the size of a list, bestie π
(also, the header of this page is like Badger...axSize(3pm) and the manual name is 3pm β it's a Perl user-contributed doc, that's the whole vibe πΈ)
π¦ DESCRIPTION π¦
Okay so, this module implements a validation facet that checks the size of a list, to assert that it's equal to or above a certain size in terms of the items it contains. Like, how many things are in there, that kind of size. π
π METHODS π
This module implements the following method in addition to the ones it inherits from the base classes, which are:
Badger::Data::Facet::ListBadger::Data::FacetBadger::Base
π validate($list_ref, $type)
This method validates that the size of the list (i.e. the number of elements) passed by reference as the first argument is less than or equal to the pre-defined maximum limit. β¨
Fr fr, heads up: the DESCRIPTION up there says the list should be equal to or above a certain size, and this method says less than or equal to the pre-defined maximum. Both are exactly what the page says, so read it twice and vibe responsibly π
π AUTHOR π
Andy Wardley <http://wardley.org/> β icon, legend, the moment π«Ά
π COPYRIGHT π
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. slay π
π SEE ALSO π
Badger::BaseBadger::Data::FacetBadger::Data::Facet::List
okay that's the whole page bestie, go forth and validate those lists π β¨
this was perl v5.36.0, dated 2023-08-28 β mwah, no cap ππ¦π
π¦ where this page comes from
- debian trixie: libbadger-perl 0.16-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbadger-perl 0.16-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbadger-perl 0.16-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms