BEGIN { use File::Basename; my $THISDIR = dirname $0; unshift @INC, $THISDIR; 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