Test::Run::Base(3pm)
π NAME π
ok so bestie, gather round β this is Test::Run::Base, the base class for literally all of Test::Run. she's the mom of the whole family tree π«Ά
β¨ DESCRIPTION β¨
so like, Test::Run::Base is the base class for every single Test::Run class out there. no cap. she inherits from Class::Accessor and then, because she's an overachiever, she brings some extra goodies of her own to the party π
πΈ METHODS πΈ
$package->new({%args})
this is the default constructor, the main character, the icon π
do NOT over-ride it. periodt. if you want custom setup, define a BUILD() method instead, okay? that's the whole vibe. do not touch the constructor, she's booked and busy π
$dest->copy_from($source, [@fields])
this one assigns the fields @fields using their accessors, pulling the values straight out of $source. so like, $dest copies the fit from $source, slay β¨
$self->accum_array({ method => $method_name })
this is a more simplistic version of the :CUMULATIVE functionality in Class::Std. the whole point of her existence? making sure you can collect all the members of array refs out of methods defined in each class, and pile them into one big array ref that you can use later π
it's giving "one big group chat instead of a million DMs", lowkey genius π§
$self->_run_sequence(\@params)
runs the sequence of commands specified using "_calc__${calling_sub}__callbacks" while passing @params to each one. and then β the payoff β she generates a list of all the callbacks' return values π₯
π LICENSE π
this file is licensed under the MIT X11 License, fr fr:
http://www.opensource.org/licenses/mit-license.php
and that's the whole page bestie, we ate and left zero crumbs π this was Test::Run::Base from the User Contributed Perl Documentation, perl v5.42.0, dated 2025-07-25 β mwah, take care of her π
π¦ 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