X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FCommand.pm;h=345204711e3e17dcde4976008ce0a89d196e2a2f;hb=1b06adb9788085e8aad3af42ea384153cd0a4fe6;hp=eb5a3476a2e83cc3cbc345dc1fc659b9ef89bc10;hpb=0e79c45af8d5eabe900280cc0e5467936467dee9;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Command.pm b/lib/Test/Valgrind/Command.pm index eb5a347..3452047 100644 --- a/lib/Test/Valgrind/Command.pm +++ b/lib/Test/Valgrind/Command.pm @@ -9,11 +9,11 @@ Test::Valgrind::Command - Base class for Test::Valgrind commands. =head1 VERSION -Version 1.01 +Version 1.02 =cut -our $VERSION = '1.01'; +our $VERSION = '1.02'; =head1 DESCRIPTION @@ -98,6 +98,17 @@ This method must be implemented when subclassing. sub suppressions_tag; +=head2 C + +The <$session> calls this method after receiving a report from the tool and before forwarding it to the action. +You can either return a mangled C<$report> (which does not need to be a clone of the original) or C if you want the action to ignore it completely. + +Defaults to the identity function. + +=cut + +sub filter { $_[2] } + =head1 SEE ALSO L, L.