Subject: | handling of =begin is wrong |
I cannot see the reasoning in what you're doing there.
A =begin node should be exactly the same as a =for node.
Any paragraphs between a =begin/=end should be treated as "data",
and therefore not have any content elements (no children).
code is an acceptable "content element", but nothing else.
Now, according to perlpodspec, if formatname, in =begin formatname,
is prefixed with a :, then the paragraphs in that =begin/=end region should
be treated like regular paragraphs.
Only then can you have Content elements other than code.
If you don't have perl5.8, you can find a copy of perlpodspec at
http://search.cpan.org/author/SBURKE/Pod-Simple-0.96/lib/perlpodspec.pod
This shouldn't be too hard to resolve and I'm looking forward to the next release.
Peace.