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

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>