freebsd-dev/contrib/perl5/t/pod/pod2usage.t
2000-06-25 11:04:01 +00:00

19 lines
353 B
Perl
Executable File

#!./perl
BEGIN {
chdir 't' if -d 't';
unshift @INC, './pod', '../lib';
require "testp2pt.pl";
import TestPodIncPlainText;
}
my %options = map { $_ => 1 } @ARGV; ## convert cmdline to options-hash
my $passed = testpodplaintext \%options, $0;
exit( ($passed == 1) ? 0 : -1 ) unless $ENV{HARNESS_ACTIVE};
__END__
=include pod2usage.PL