=head1 VERSION
-Version 1.12
+Version 1.13
=cut
-our $VERSION = '1.12';
+our $VERSION = '1.13';
=head1 DESCRIPTION
use version ();
-use base qw/Test::Valgrind::Carp/;
+use base qw<Test::Valgrind::Carp>;
=head1 METHODS
=cut
-eval "sub $_ { \$_[0]->{$_} }" for qw/valgrind no_def_supp/;
+eval "sub $_ { \$_[0]->{$_} }" for qw<valgrind no_def_supp>;
=head2 C<extra_supps>
my @members;
BEGIN {
- @members = qw/action tool command parser/;
+ @members = qw<action tool command parser>;
for (@members) {
eval "sub $_ { \@_ <= 1 ? \$_[0]->{$_} : (\$_[0]->{$_} = \$_[1]) }";
die if $@;
my %args = @_;
- for (qw/action tool command/) {
+ for (qw<action tool command>) {
my $base = 'Test::Valgrind::' . ucfirst;
my $value = $args{$_};
$self->_croak("Invalid $_") unless Scalar::Util::blessed($value)
$self->$_($args{$_})
}
- delete @{$self}{qw/last_status exit_code/};
+ delete @{$self}{qw<last_status exit_code>};
$self->tool->start($self);
$self->parser($self->parser_class->new)->start($self);
return unless defined $report;
- for my $handler (qw/tool command/) {
+ for my $handler (qw<tool command>) {
$report = $self->$handler->filter($self, $report);
return unless defined $report;
}
=head1 COPYRIGHT & LICENSE
-Copyright 2009,2010 Vincent Pit, all rights reserved.
+Copyright 2009,2010,2011 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.