X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FAction%2FSuppressions.pm;h=8a801ecbf55f2860f6fca496db562ee387a7a2d0;hb=44f0639e6ac34bdc0be52d47fe2c2df43ab1ca94;hp=af3439f3c9c385e8bf499c4c677b961d654a511c;hpb=08860dad1f820cce06758ec4add9353a4dbc8175;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Action/Suppressions.pm b/lib/Test/Valgrind/Action/Suppressions.pm index af3439f..8a801ec 100644 --- a/lib/Test/Valgrind/Action/Suppressions.pm +++ b/lib/Test/Valgrind/Action/Suppressions.pm @@ -9,11 +9,11 @@ Test::Valgrind::Action::Suppressions - Generate suppressions for a given tool. =head1 VERSION -Version 1.10 +Version 1.12 =cut -our $VERSION = '1.10'; +our $VERSION = '1.12'; =head1 DESCRIPTION @@ -21,7 +21,7 @@ This action just writes the contents of the suppressions reports received into t =cut -use base qw/Test::Valgrind::Action Test::Valgrind::Action::Captor/; +use base qw; =head1 METHODS @@ -45,7 +45,7 @@ sub new { my %validated; - for (qw/name target/) { + for (qw) { my $arg = delete $args{$_}; $class->_croak("'$_' is expected to be a plain scalar") unless $arg and not ref $arg; @@ -54,7 +54,7 @@ sub new { my $self = $class->SUPER::new(%args); - $self->{$_} = $validated{$_} for qw/name target/; + $self->{$_} = $validated{$_} for qw; $self; } @@ -82,7 +82,7 @@ sub start { $self->SUPER::start($sess); - delete @{$self}{qw/status supps diagnostics/}; + delete @{$self}{qw}; $self->save_fh(\*STDOUT => '>' => undef); $self->save_fh(\*STDERR => '>' => undef); @@ -188,7 +188,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 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.