11 BEGIN { plan tests => 4 };
13 #use Pod::Simple::Debug (5);
17 use Pod::Simple::DumpAsXML;
18 use Pod::Simple::XMLOutStream;
19 print "# Pod::Simple version $Pod::Simple::VERSION\n";
22 my @output_lines = split m/[\cm\cj]+/, Pod::Simple::XMLOutStream->_out( q{
28 ëÏÇÄÁ ÞÉÔÁÌÁ ÔÙ ÍÕÞÉÔÅÌØÎÙÅ ÓÔÒÏËÉ -- Fet's "When you were reading"
35 if(grep m/Unknown directive/i, @output_lines ) {
37 print "# I saw an Unknown directive warning here! :\n",
38 map("#==> $_\n", @output_lines), "#\n#\n";
45 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
46 print "# Now a control group, to make sure that =fishbladder DOES\n",
47 "# cause an 'unknown directive' error...\n";
50 my @output_lines = split m/[\cm\cj]+/, Pod::Simple::XMLOutStream->_out( q{
56 Fet's "When you were reading"
63 if(grep m/Unknown directive/i, @output_lines ) {
67 print "# But I didn't see an Unknows directive warning here! :\n",
68 map("#==> $_\n", @output_lines), "#\n#\n";
75 print "#\n# And one for the road...\n";