X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FParser%2FXML.pm;h=d5755714852dc72bf36e57fd1e8ff817fddc48f1;hb=f2071d95aaaa4817e91cc33530deedc8d701d44d;hp=4c0216ff4c4cb6b94111791128f01afbb1d132cd;hpb=195f0244c01e942307e13d693f196156b9263444;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Parser/XML.pm b/lib/Test/Valgrind/Parser/XML.pm index 4c0216f..d575571 100644 --- a/lib/Test/Valgrind/Parser/XML.pm +++ b/lib/Test/Valgrind/Parser/XML.pm @@ -9,11 +9,11 @@ Test::Valgrind::Parser::XML - Parse valgrind output as an XML stream. =head1 VERSION -Version 1.11 +Version 1.19 =cut -our $VERSION = '1.11'; +our $VERSION = '1.19'; =head1 DESCRIPTION @@ -21,11 +21,13 @@ This is a base class for L objects that can parse C; =head1 METHODS -=head2 C +=head2 C + + my @args = $tvp->args($session, $fh); Returns the arguments needed to tell C to print in XML to the filehandle C<$fh>. @@ -35,7 +37,7 @@ sub args { my $self = shift; my ($session, $fh) = @_; - my $fd_opt = $session->version ge '3.5.0' ? '--xml-fd=' : '--log-fd='; + my $fd_opt = $session->version >= '3.5.0' ? '--xml-fd=' : '--log-fd='; return ( $self->SUPER::args(@_), @@ -67,7 +69,7 @@ You can find documentation for this module with the perldoc command. =head1 COPYRIGHT & LICENSE -Copyright 2009 Vincent Pit, all rights reserved. +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.