summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/pod/lref.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/pod/lref.t')
-rwxr-xr-xcontrib/perl5/t/pod/lref.t66
1 files changed, 66 insertions, 0 deletions
diff --git a/contrib/perl5/t/pod/lref.t b/contrib/perl5/t/pod/lref.t
new file mode 100755
index 0000000..e367d6d
--- /dev/null
+++ b/contrib/perl5/t/pod/lref.t
@@ -0,0 +1,66 @@
+#!./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>
+
OpenPOWER on IntegriCloud