Test::...iledObj(3pm)

πŸ“¦
version 0.0306 Β· 2 versions
, in fedora 43

πŸŽ€ 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::Struct
  • Test::Run::Obj
  • Test::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