Test::...::Util(3pm)
π NAME π
Test::Valgrind::Util β it's the little utility-routine toolbox for Test::Valgrind. That's the whole vibe. (It lives in the User Contributed Perl Documentation corner of the manual, bestie, that's its whole address.)
β¨ VERSION β¨
Version 1.19 π
πΈ DESCRIPTION πΈ
Okay so, this module is just a lil grab-bag of helpers that Test::Valgrind itself uses. That's it. That's the job.
Real talk though: it's not really designed to be used anywhere else. So like, you can poke at it, but it was never built with you in mind, yk? It's giving "backstage pass, not front-row seat." π
π¦ FUNCTIONS π¦
validate_subclass
my ($validated_type, $error_msg) = validate_subclass($type);
So what this does is: it tries to read $type as a subclass of whatever package called it β like, the caller package, periodt. And if that thing's @ISA is empty? Bestie, it loads it. Gotta do the work to make it official.
What you get back is the validated type π β or, if it didn't work out, you get undef plus the relevant error message so you know exactly what went sideways. No mystery, no guessing, we love transparency. π
π EXPORT π
Not a single thing. It exports nothing. Zero. Nada. This module is lowkey the strong silent type β you want stuff from it, you go get it yourself. π
π SEE ALSO π
- Test::Valgrind β the main character, the parent, the whole reason this lil module exists π«Ά
π AUTHOR π
Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
You can contact me by mail or on "irc.perl.org" (vincent). Slide into the DMs, basically. β¨
π BUGS π
Found a bug? Got a feature request? Pls don't suffer in silence, bestie. Report it to "bug-test-valgrind at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>.
Here's the deal, fr fr: I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. It's a whole mutual-updates situation. We're in this together. π
π SUPPORT π
You can find documentation for this module with the perldoc command.
perldoc Test::Valgrind::Component
(Yes that's the command. Yes it says a different module name. No I'm not editing it. iykyk. π€·)
π§ COPYRIGHT & LICENSE π§
Copyright 2015,2016 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
And that's the whole page, babe! π This lil slice of documentation is served up by perl v5.40.1, dated 2025-04-13, and yes β Test::...::Util(3pm) β that's us. Go forth and subclass responsibly. Slay. π
β¨
π¦ where this page comes from
- debian trixie: libtest-valgrind-perl 1.19-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtest-valgrind-perl 1.19-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtest-valgrind-perl 1.19-6 Β· 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