Test::...iledObj(3pm)
π NAME π
okay bestie, gather round π so this page β it's Test::...iledObj(3pm), coming at you from the User Contributed Perl Documentation corner of the perl manual β is all about Test::Run::Obj::FailedObj, which is, and I quote, an object representing a failure. yes queen, an object whose whole entire job is being a little failure. iconic. no cap.
π¦ DESCRIPTION π¦
so real talk: it inherits from Test::Run::Base::Struct. that's the whole description. that's it. it's giving "my personality is my parent class" and honestly? valid. π
β¨ METHODS β¨
here's where the actual lore lives, bestie π«Ά every single one, no skips, we don't gatekeep here:
π $self->_defined_percent()
returns a defined percentage. and like β if the percentage is undefined? it returns 0 instead. so you literally cannot be left hanging with a undef in your hands. 0. always 0. safety first. π
πΈ $self->first_canon_string()
this one hands you the first of the canon_strings(). as in, the one with index 0. the og. the main character. the one that walks in first and everyone turns their head. π
π¦ $self->rest_of_canons()
an array reference containing all the canons except the 0th one. so like, everybody after the opener. the supporting cast. the entourage. and yes bestie, it's a ref, so treat it like one. π
π $self->max_str()
a string representation of max. that's it. it says what it says. straightforward queen. β¨
π $self->failed_str()
a string representation of failed. same energy, different field. we love a matching set fr fr. π
π₯ SEE ALSO π₯
if you wanna go down the rabbit hole (and you know you do), go check out:
Test::Run::Base::StructTest::Run::ObjTest::Run::Core
iykyk π
π LICENSE π
this file is freely distributable under the MIT X11 license. slay, open source.
<http://www.opensource.org/licenses/mit-license.php>
π AUTHOR π
Shlomi Fish, <http://www.shlomifish.org/>. absolute legend, we stan. π«Ά
and that's a wrap, bestie π this page was served up fresh by perl v5.42.0, dated 2025-07-25 β so like, go forth, represent your failures, and remember: even an object that is literally a failure can be an icon. periodt. π β¨π
π¦ where this page comes from
- fedora 43: perl-Test-Run 0.0306-3.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-2.0-only AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms