Test::Valgrind::Version(3pm)

Test::Valgrind::Version3pm

Object class for valgrind versions.

Version

Version 1.19

Overview

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

Methods

"new"

    my $vg_version = Test::Valgrind::Version->new(
     command_output => qx{valgrind --version},
    );
    my $vg_version = Test::Valgrind::Version->new(
     string => '1.2.3',
    );

Creates a new Test::Valgrind::Version object representing a "valgrind" version from one of these two sources :

•

if the "command_output" option is specified, then "new" will try to parse it as the output of "valgrind --version".

•

otherwise the "string" option must be passed, and its value will be parsed as a 'dotted-integer' version number.

An exception is raised if the version number cannot be inferred from the supplied data.

Overloading

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

Support

You can find documentation for this module with the perldoc command.

    perldoc Test::Valgrind::Component

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–11
  2. 12
  3. 13

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

From libtest-valgrind-perl 1.19-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.