Badger...t::Text(3pm)
π 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 π
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::BaseBadger::Data::Facet
the whole squad, go read them too, iykyk π
π cute lil sign-off: this page was rendered byperl v5.36.0, dated2023-08-28, and it's still serving looks. go forth and validate, bestie π«Άβ¨
π¦ 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