home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl560.zip / t / pod / emptycmd.t next >
Text File  |  1999-10-01  |  391b  |  22 lines

  1. #!./perl
  2. BEGIN {
  3.    chdir 't' if -d 't';
  4.    unshift @INC, './pod', '../lib';
  5.    require "testp2pt.pl";
  6.    import TestPodIncPlainText;
  7. }
  8.  
  9. my %options = map { $_ => 1 } @ARGV;  ## convert cmdline to options-hash
  10. my $passed  = testpodplaintext \%options, $0;
  11. exit( ($passed == 1) ? 0 : -1 )  unless $ENV{HARNESS_ACTIVE};
  12.  
  13. __END__
  14.  
  15. =pod
  16.  
  17. = this is a test
  18. of the emergency
  19. broadcast system
  20.  
  21. =cut
  22.