Badger...t::Text(3pm)

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

πŸ’– NAME πŸ’–

okay bestie, meet Badger::Data::Facet::Text β€” the base class for text validation facets ✨ (it's Badger...t::Text(3pm) in the man page header, but you know her full name now 🫢). She's user-contributed Perl documentation and she's here to vibe-check your strings.


🌸 DESCRIPTION 🌸

So like, this module implements a base class for text validation facets. That's the whole tea 🍡 β€” she's the blueprint the other text-y facets build on. No cap.


✨ METHODS ✨

This module implements the following methods in addition to those it inherits from the Badger::Data::Facet and Badger::Base base classes. So yes, she comes with family benefits πŸ‘‘ β€” those inherited methods are still yours, these are just the bonus ones she brings to the group chat.

πŸ’… validate($value)

Asserts that the $value β€” which gets passed by reference as an argument, bestie, don't forget the reference part 😀 β€” is a text string, OR an object with an overloaded auto-stringification operator that lets it behave like a text string. Basically: real string, or a glow-up object that can pass as one. Either way she says slay and validates it. πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

Andy Wardley (http://wardley.org/) β€” yeah, that Andy Wardley. Iconic behavior fr fr.


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, remix her, just keep it Perl-licensed πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

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

the whole squad, go read them too, iykyk 🌈


πŸŽ€ cute lil sign-off: this page was rendered by perl v5.36.0, dated 2023-08-28, and it's still serving looks. go forth and validate, bestie 🫢✨
πŸ“¦ where this page comes from