| Module-New documentation | Contained in the Module-New distribution. |
Module::New::Command::Test
executes prove command (from Test::Harness).
Kenichi Ishigaki, <ishigaki@cpan.org>
Copyright (C) 2007-2009 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Module-New documentation | Contained in the Module-New distribution. |
package Module::New::Command::Test; use strict; use warnings; use Carp; use Module::New::Meta; use Module::New::Queue; functions { prove => sub () { Module::New::Queue->register(sub { my ($self, @args) = @_; eval "require App::Prove"; unless ( $@ ) { my $app = App::Prove->new; $app->process_args(@args); $app->run; } else { exec( 'prove', @args ); } })}, }; 1; __END__