Badger...r::Max(3pm)
β¨ NAME β¨
okay bestie so this page is Badger...r::Max(3pm) β it's a chunk of the User Contributed Perl Documentation, section 3pm, and the module it's actually about is Badger::Data::Facet::Number::Min π
it's a validation facet for a minimum numerical value. that's the whole vibe. periodt.
not me noticing the header saysMaxwhile the NAME saysMin... i'm just reporting what's on the page, i don't make the rules π«Ά
π¦ DESCRIPTION π¦
so what does this module do, you ask? it implements a validation facet β and that facet asserts that a numeric value is less than or equal to a pre-defined value. that's it. that's the job. it's giving gatekeeper but make it math πΈ
π METHODS π
this module implements the method below in addition to the ones it inherits from the base classes β namely Badger::Data::Facet::Number, Badger::Data::Facet, and Badger::Base. so yeah, it's got family money, it inherited a whole wardrobe π
β validate($value_ref, $type)
this one validates that the number passed by reference as the first argument is less than or equal to the pre-defined maximum limit. hand it a ref, it checks the number, no cap π§
π AUTHOR π
Andy Wardley <http://wardley.org/> β icon behavior, honestly.
π 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.
free software besties, the "same terms as Perl itself" kind β go forth and remix π«Ά
π SEE ALSO π
go peek at these if you want the full lore:
Badger::BaseBadger::Data::FacetBadger::Data::Facet::Number
and that's a wrap on the Badger...r::Max(3pm) page, brought to you by perl v5.36.0, dated 2023-08-28. slay, stay validated, and remember: less than or equal to. always. πβ¨
π¦ 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