Ian Malpass <[EMAIL PROTECTED]> writes: > Andy Armstrong wrote: > >> =head2 C<foo> >> foo is a method... >> =head2 C<bar> >> bar is a subroutine... >> why not >> =method foo >> =sub bar >> > > How about: > > =for method > > =head2 C<foo>
Just because no one seemed to have mentioned it in the discussion: There is already an interesting project from Mark Overmeer, called OODoc. http://search.cpan.org/~markov/OODoc/ It provides a framework to parse non-plain-pod documentation and outputting that (into HTML). Parsers are theoretically pluggable. The current parser understands some interesting extension to POD, see http://search.cpan.org/~markov/OODoc/lib/OODoc/Parser/Markov.pod for examples. It should be backwards compatible to POD, AFAIR. I just wanted to point out its existence. :-) Regards, Steffen -- Steffen Schwigon <[EMAIL PROTECTED]> Dresden Perl Mongers <http://dresden-pm.org/> Deutscher Perl-Workshop <http://www.perl-workshop.de/>