67 lines
1.1 KiB
Perl
Executable File
67 lines
1.1 KiB
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__
|
|
|
|
|
|
=pod
|
|
|
|
Try out I<LOTS> of different ways of specifying references:
|
|
|
|
Reference the L<manpage/section>
|
|
|
|
Reference the L<manpage / section>
|
|
|
|
Reference the L<manpage/ section>
|
|
|
|
Reference the L<manpage /section>
|
|
|
|
Reference the L<"manpage/section">
|
|
|
|
Reference the L<"manpage"/section>
|
|
|
|
Reference the L<manpage/"section">
|
|
|
|
Reference the L<manpage/
|
|
section>
|
|
|
|
Reference the L<manpage
|
|
/section>
|
|
|
|
Now try it using the new "|" stuff ...
|
|
|
|
Reference the L<thistext|manpage/section>
|
|
|
|
Reference the L<thistext | manpage / section>
|
|
|
|
Reference the L<thistext| manpage/ section>
|
|
|
|
Reference the L<thistext |manpage /section>
|
|
|
|
Reference the L<thistext|
|
|
"manpage/section">
|
|
|
|
Reference the L<thistext
|
|
|"manpage"/section>
|
|
|
|
Reference the L<thistext|manpage/"section">
|
|
|
|
Reference the L<thistext|
|
|
manpage/
|
|
section>
|
|
|
|
Reference the L<thistext
|
|
|manpage
|
|
/section>
|
|
|