#!/usr/bin/perl
use strict;
use warnings;

our $VERSION = '2.000017';

BEGIN {
    return if $^C;

    # Same as App::Yath::Script::inject_includes(), which cannot run yet: any
    # @INC hook in this process was installed by PERL5OPT and must be kept.
    @INC = (grep({ ref $_ } @INC), split(/;/, $ENV{T2_HARNESS_INCLUDES}))
        if $ENV{T2_HARNESS_INCLUDES};

    require App::Yath::Script;

    App::Yath::Script::do_begin();
}

exit(App::Yath::Script::do_runtime());

__END__

=pod

=encoding UTF-8

=head1 NAME

yath - script to launch yath.

=head1 SOURCE

The source code repository for Test2-Harness can be found at
L<http://github.com/Test-More/App-Yath-Script/>.

=head1 MAINTAINERS

=over 4

=item Chad Granum E<lt>exodist7@gmail.comE<gt>

=back

=head1 AUTHORS

=over 4

=item Chad Granum E<lt>exodist7@gmail.comE<gt>

=back

=head1 COPYRIGHT

Copyright Chad Granum E<lt>exodist7@gmail.comE<gt>.

This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

See L<http://dev.perl.org/licenses/>

=cut

