1Test::Valgrind::VersionU(s3e)r Contributed Perl DocumentaTteisotn::Valgrind::Version(3)
2
3
4

NAME

6       Test::Valgrind::Version - Object class for valgrind versions.
7

VERSION

9       Version 1.19
10

DESCRIPTION

12       This class is used to parse, store and compare "valgrind" versions.
13

METHODS

15   "new"
16           my $vg_version = Test::Valgrind::Version->new(
17            command_output => qx{valgrind --version},
18           );
19
20           my $vg_version = Test::Valgrind::Version->new(
21            string => '1.2.3',
22           );
23
24       Creates a new Test::Valgrind::Version object representing a "valgrind"
25       version from one of these two sources :
26
27       •   if the "command_output" option is specified, then "new" will try to
28           parse it as the output of "valgrind --version".
29
30       •   otherwise the "string" option must be passed, and its value will be
31           parsed as a 'dotted-integer' version number.
32
33       An exception is raised if the version number cannot be inferred from
34       the supplied data.
35

OVERLOADING

37       This class overloads numeric comparison operators ("<=>", "<", "<=", "
38       == ", "=>" and ">"), as well as stringification.
39

SEE ALSO

41       Test::Valgrind.
42

AUTHOR

44       Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
45
46       You can contact me by mail or on "irc.perl.org" (vincent).
47

BUGS

49       Please report any bugs or feature requests to "bug-test-valgrind at
50       rt.cpan.org", or through the web interface at
51       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>.  I will
52       be notified, and then you'll automatically be notified of progress on
53       your bug as I make changes.
54

SUPPORT

56       You can find documentation for this module with the perldoc command.
57
58           perldoc Test::Valgrind::Component
59
61       Copyright 2015,2016 Vincent Pit, all rights reserved.
62
63       This program is free software; you can redistribute it and/or modify it
64       under the same terms as Perl itself.
65
66
67
68perl v5.32.1                      2021-01-27        Test::Valgrind::Version(3)
Impressum