Test::Run::CmdLine::Prove::App - a module implementing a standalone command line


Test-Run-CmdLine documentation Contained in the Test-Run-CmdLine distribution.

Index


Code Index:

NAME

Top

Test::Run::CmdLine::Prove::App - a module implementing a standalone command line app for runprove.

SYNOPSIS

Top

    $ perl -MTest::Run::CmdLine::Prove::App -e 'run()' -- [ARGS]

DESCRIPTION

Top

This is a module implementing a standalone command line application. It was created to replace the use of the runprove executable which is not always installed or available in the path.

EXPORTS

Top

run()

Actually executed the command-line application.

AUTHOR

Top

Shlomi Fish, <shlomif@iglu.org.il>

BUGS

Top

Please report any bugs or feature requests to bug-test-run-cmdline@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Run-CmdLine. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Test-Run-CmdLine documentation Contained in the Test-Run-CmdLine distribution.

package Test::Run::CmdLine::Prove::App;

use strict;
use warnings;

use base 'Exporter';

use vars qw(@EXPORT);

@EXPORT = (qw(run));

use Test::Run::CmdLine::Prove;

sub run
{
    my $p =
        Test::Run::CmdLine::Prove->create(
            {
                'args' => [@ARGV],
                'env_switches' => $ENV{'PROVE_SWITCHES'},
            }
        );
    exit(! $p->run());
}

1;