]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blob - lib/Test/Valgrind/Parser/Text.pm
Miscellanous doc nits
[perl/modules/Test-Valgrind.git] / lib / Test / Valgrind / Parser / Text.pm
1 package Test::Valgrind::Parser::Text;
2
3 use strict;
4 use warnings;
5
6 =head1 NAME
7
8 Test::Valgrind::Parser::Text - Parse valgrind output as a text stream.
9
10 =head1 VERSION
11
12 Version 1.10
13
14 =cut
15
16 our $VERSION = '1.10';
17
18 =head1 DESCRIPTION
19
20 This is a L<Test::Valgrind::Parser> object that can extract suppressions from C<valgrind>'s text output.
21
22 =cut
23
24 use base qw/Test::Valgrind::Parser/;
25
26 =head1 METHODS
27
28 =head2 C<args $session, $fh>
29
30 Returns the arguments needed to tell C<valgrind> to print in text to the filehandle C<$fh>.
31
32 =cut
33
34 sub args {
35  my $self = shift;
36  my ($session, $fh) = @_;
37
38  return (
39   $self->SUPER::args(@_),
40   '--log-fd=' . fileno($fh),
41  );
42 }
43
44 =head1 SEE ALSO
45
46 L<Test::Valgrind>, L<Test::Valgrind::Parser>.
47
48 =head1 AUTHOR
49
50 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
51
52 You can contact me by mail or on C<irc.perl.org> (vincent).
53
54 =head1 BUGS
55
56 Please report any bugs or feature requests to C<bug-test-valgrind at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>.
57 I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
58
59 =head1 SUPPORT
60
61 You can find documentation for this module with the perldoc command.
62
63     perldoc Test::Valgrind::Parser::Text
64
65 =head1 COPYRIGHT & LICENSE
66
67 Copyright 2009 Vincent Pit, all rights reserved.
68
69 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
70
71 =cut
72
73 1; # End of Test::Valgrind::Parser::Text