1use strict; 2use warnings; 3 4BEGIN { 5 use File::Basename; 6 my $THISDIR = dirname $0; 7 unshift @INC, $THISDIR; 8 require "testp2pt.pl"; 9 TestPodIncPlainText->import; 10} 11 12my %options = map { $_ => 1 } @ARGV; ## convert cmdline to options-hash 13my $passed = testpodplaintext \%options, $0; 14exit( ($passed == 1) ? 0 : -1 ) unless $ENV{HARNESS_ACTIVE}; 15 16 17__END__ 18 19=include pod2usage.PL 20 21 22