Badger...r::Max(3pm)

πŸ“¦
version 0.16 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu resolute

✨ 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 says Max while the NAME says Min... 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 (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::Base
  • Badger::Data::Facet
  • Badger::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