Badger...r::Min(3pm)
π Badger::Data::Facet::Number::Min(3pm) π
okay so bestie, welcome to the Perl manpage corner of the internet β¨ this one's from the User Contributed Perl Documentation and it's genuinely so useful, no cap.
β¨ NAME β¨
Badger::Data::Facet::Number::Min β it's a validation facet for a minimum numerical value π
πΈ DESCRIPTION πΈ
so like. this module implements a validation facet β yes, implements, it's doing the work π β and what that facet does is assert that a numeric value is equal to or larger than a pre-defined value.
that's it. that's the whole vibe. it's the bouncer at the club door going "you gotta be at least this tall to get in" π«Ά
π¦ METHODS π¦
this module implements the following method, in addition to the ones it inherits from its base classes:
Badger::Data::Facet::NumberBadger::Data::FacetBadger::Base
so it's not reinventing anything, it's just adding one little sparkle on top β¨ iconic behaviour honestly.
π validate($value_ref, $type)
this method validates that the number passed by reference as the first argument is greater than or equal to the pre-defined minimum limit.
like, the number comes in as a ref, and validate is the one doing the vibe check on it π
if it's under the limit? not today, bestie. π
π AUTHOR π
Andy Wardley <http://wardley.org/> β absolute main character energy, fr fr π
π COPYRIGHT π
Copyright (C) 2008-2009 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.
so yes, it's free software, same terms as Perl itself β go forth and remix, just keep the terms, periodt π
π« SEE ALSO π«
Badger::BaseBadger::Data::FacetBadger::Data::Facet::Number
go read those too, they're the whole friend group π«Ά
and that's the whole page!! this bad boy ships with perl v5.36.0 and was dated 2023-08-28, and it's filed under Badger...r::Min(3pm) β okay bye bestie, go validate some numbers π β¨π¦
π¦ 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