package App::Prove;
use strict;
-use vars qw($VERSION @ISA);
+use warnings;
-use TAP::Object ();
use TAP::Harness;
-use TAP::Parser::Utils qw( split_shell );
+use Text::ParseWords qw(shellwords);
use File::Spec;
use Getopt::Long;
use App::Prove::State;
use Carp;
+use parent 'TAP::Object';
+
=head1 NAME
App::Prove - Implements the C<prove> command.
=head1 VERSION
-Version 3.28
+Version 3.29
=cut
-$VERSION = '3.28';
+our $VERSION = '3.29';
=head1 DESCRIPTION
my @ATTR;
BEGIN {
- @ISA = qw(TAP::Object);
-
@ATTR = qw(
archive argv blib show_count color directives exec failures comments
formatter harness includes modules plugins jobs lib merge parse quiet
push @switches, '-w';
}
- push @switches, split_shell( $ENV{HARNESS_PERL_SWITCHES} );
+ push @switches, shellwords( $ENV{HARNESS_PERL_SWITCHES} ) if defined $ENV{HARNESS_PERL_SWITCHES};
return @switches ? \@switches : ();
}