| Test-Valgrind documentation | Contained in the Test-Valgrind distribution. |
Test::Valgrind::Parser::XML - Parse valgrind output as an XML stream.
Version 1.12
This is a base class for Test::Valgrind::Parser objects that can parse valgrind's XML output.
args $session, $fhReturns the arguments needed to tell valgrind to print in XML to the filehandle $fh.
Vincent Pit, <perl at profvince.com>, http://www.profvince.com.
You can contact me by mail or on irc.perl.org (vincent).
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.
I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Test::Valgrind::Parser::XML
Copyright 2009 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.
| Test-Valgrind documentation | Contained in the Test-Valgrind distribution. |
package Test::Valgrind::Parser::XML; use strict; use warnings;
our $VERSION = '1.12';
use base qw/Test::Valgrind::Parser/;
sub args { my $self = shift; my ($session, $fh) = @_; my $fd_opt = $session->version ge '3.5.0' ? '--xml-fd=' : '--log-fd='; return ( $self->SUPER::args(@_), '--xml=yes', $fd_opt . fileno($fh), ); }
1; # End of Test::Valgrind::Parser::XML