Badger...:Number(3pm)

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

✨ NAME ✨

okay so bestie, welcome to Badger::Data::Facet::Number (3pm) β€” the base class for numerical validation facets πŸ’– it's giving "if it's not a number, we're not doing this today" energy.


🌸 DESCRIPTION 🌸

no cap, this module is the base class for numerical validation facets. it doesn't do the whole job by itself, it's the foundation other number-y facet classes build on top of. iconic behaviour honestly πŸ‘‘


πŸ¦‹ METHODS πŸ¦‹

so this module has the methods below plus everything it inherits from Badger::Data::Facet and Badger::Base. the whole family tree ate πŸ’…

πŸŽ€ validate($value_ref)

literally just asserts that the $value you passed in by reference as an argument is a number. that's it. that's the vibe check 🌈


πŸ’œ AUTHOR πŸ’œ

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. so go off, just keep it free fr fr πŸ“


🧚 SEE ALSO 🧚

  • Badger::Base
  • Badger::Data::Facet

iykyk πŸ‘‘


and that's the whole page bestie!! this one's perl v5.36.0, dated 2023-08-28 β€” mwah, take care of yourself, drink some water, and go validate some numbers πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from