Test::...Parser(3pm)
β¨ Test::...Parser π
okay so bestie, welcome to the Perl User Contributed Documentation corner of the internet π«Ά this one's Test::...Parser from the 3pm manual, and it's giving base class energy in the most iconic way.
πΈ NAME πΈ
Test::Valgrind::Parser β it's the base class for Test::Valgrind parsers. that's the whole vibe, no cap π
π VERSION π
Version 1.19 β¨
π¦ DESCRIPTION π¦
so like, this class is literally the base for Test::Valgrind parsers. everything else builds on top of it, she's the blueprint fr fr π
π METHODS π
π new
my $tvp = Test::Valgrind::Parser->new;
the parser constructor, and you call it without any arguments β she doesn't need them, she's low maintenance π
defaults to new in Test::Valgrind::Component.
π start
$tvp->start($session);
called when the $session starts π±
defaults to setting started in Test::Valgrind::Component.
π args
my @args = $tvp->args($session, $fh);
returns the list of parser-specific arguments that get passed to the valgrind process that the session $session spawned, and whose output is gonna be captured by the filehandle $fh π₯
defaults to the empty list β she says nothing, iconic silence π€«
π parse
my $aborted = $tvp->parse($session, $fh);
this one parses the output of the valgrind process attached to the session $session, which it receives through the filehandle $fh π returns true when the output indicates that valgrind has aborted π
β οΈ bestie listen: this method must be implemented when subclassing. like, you have to do it. there's no default. no skipping. periodt π
π finish
$tvp->finish($session);
called when the $session finishes π
defaults to clearing started in Test::Valgrind::Component.
π SEE ALSO π
Test::Valgrind, Test::Valgrind::Component, Test::Valgrind::Session β go read them, they're all connected, iykyk π«
π AUTHOR π
Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
you can contact him by mail or on irc.perl.org (vincent) β he's around, fr fr π¬
π BUGS π
please report any bugs or feature requests to "bug-test-valgrind at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. he will be notified, and then you'll automatically be notified of progress on your bug as he makes changes π
π«Ά SUPPORT π«Ά
you can find documentation for this module with the perldoc command.
perldoc Test::Valgrind::Parser
π COPYRIGHT & LICENSE π
Copyright 2009,2010,2011,2013,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 bestie, you ate that πβ¨
cute lil sign-off: this was rendered by perl v5.40.1 on 2025-04-13, and yes, the manual page itself is also named Test::...Parser(3pm) β she's got main character energy in the footer too ππ¦πΈ
π¦ 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