4
BEGIN { plan tests => 4 };
6
#use Pod::Simple::Debug (5);
10
use Pod::Simple::DumpAsXML;
11
use Pod::Simple::XMLOutStream;
12
print "# Pod::Simple version $Pod::Simple::VERSION\n";
15
my @output_lines = split m/[\cm\cj]+/, Pod::Simple::XMLOutStream->_out( q{
21
Bippitty Boppity Boo -- Yormp
28
if(grep m/Unknown directive/i, @output_lines ) {
30
print "# I saw an Unknown directive warning here! :\n",
31
map("#==> $_\n", @output_lines), "#\n#\n";
38
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
39
print "# Now a control group, to make sure that =fishbladder DOES\n",
40
"# cause an 'unknown directive' error...\n";
43
my @output_lines = split m/[\cm\cj]+/, Pod::Simple::XMLOutStream->_out( q{
49
Fet's "When you were reading"
56
if(grep m/Unknown directive/i, @output_lines ) {
60
print "# But I didn't see an Unknows directive warning here! :\n",
61
map("#==> $_\n", @output_lines), "#\n#\n";
68
print "#\n# And one for the road...\n";