Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Test::Valgrind::Parser

Name Test::Valgrind::Parser
Version 1.19
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/Test/Valgrind/Parser.pm
Is Core No
Search CPAN for this module Test::Valgrind::Parser
Documentation Test::Valgrind::Parser
Module Details Test::Valgrind::Parser

NAME

Test::Valgrind::Parser - Base class for Test::Valgrind parsers.


VERSION

Version 1.19


DESCRIPTION

This class is the base for the Test::Valgrind manpage parsers.


METHODS

new

    my $tvp = Test::Valgrind::Parser->new;

The parser constructor, called without arguments.

Defaults to new in the Test::Valgrind::Component manpage.

start

    $tvp->start($session);

Called when the $session starts.

Defaults to set started in the Test::Valgrind::Component manpage.

args

    my @args = $tvp->args($session, $fh);

Returns the list of parser-specific arguments that are to be passed to the valgrind process spawned by the session $session and whose output will be captured by the filehandle $fh.

Defaults to the empty list.

parse

    my $aborted = $tvp->parse($session, $fh);

Parses the output of the valgrind process attached to the session $session received through the filehandle $fh. Returns true when the output indicates that valgrind has aborted.

This method must be implemented when subclassing.

finish

    $tvp->finish($session);

Called when the $session finishes.

Defaults to clear started in the Test::Valgrind::Component manpage.


SEE ALSO

the Test::Valgrind manpage, the Test::Valgrind::Component manpage, the Test::Valgrind::Session manpage.


AUTHOR

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).


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. I will be notified, and then you'll automatically be notified of progress on your bug as I make 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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2025