blob: 44af44f17de16a835cc2c8988bf75ad576edee84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
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__
=pod
This is a test
=for theloveofpete
You shouldn't see this
or this
or this
=for text
pod2text should see this
and this
and this
and everything should see this!
=begin text
Similarly, this line ...
and this one ...
as well this one,
should all be in pod2text output
=end text
Tweedley-deedley-dee, Im as happy as can be!
Tweedley-deedley-dum, cuz youre my honey sugar plum!
=begin atthebeginning
But I expect to see neither hide ...
nor tail ...
of this text
=end atthebeginning
The rest of this should show up in everything.
|