qazwart has asked for the wisdom of the Perl Monks concerning the following question:
I use POD, and use Pod::Usage through out my code. I am familiar with POD syntax. However, the POD syntax strikes me a bit long in the tooth.
POD syntax was created to help developers to quickly write their code. It is fairly straight forward, but there is a learning curve, and teaching developers to use it can be a pain. I like the concept of POD documentation, but I was thinking that it would be much easier to get developers to write the documentation if we could use Markdown for the syntax;
For example, in POD syntax:
=head1 PARAMETERS The following are valid parameters: =over 10 =item * B<-foo>: Does all of your foo stuff. =item * B<-bar>: In case you need to bar. =back
Would be this in Markdown:
# PARAMETERS The following are valid parameters: * **-foo**: Does all of your foo stuff. * **-bar**: In case you need to bar.
Markdown is not only easier to write, but is also more readable. And, developers who use Stackoverflow, GitHub, Reddit, SourceForge, and many other sites would be familiar with its syntax.
I'm not thinking of a wholesale replacement, just a way of using Markdown in POD documentation and have tools like POD::Usage and perldoc to be able to parse it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is POD Syntax Obsolete?
by tobyink (Canon) on Jun 11, 2013 at 18:46 UTC | |
|
Re: Is POD Syntax Obsolete?
by toolic (Bishop) on Jun 11, 2013 at 21:00 UTC | |
|
Re: Is POD Syntax Obsolete?
by vsespb (Chaplain) on Jun 11, 2013 at 21:31 UTC | |
|
Re: Is POD Syntax Obsolete?
by Laurent_R (Canon) on Jun 11, 2013 at 21:50 UTC | |
|
Re: Is POD Syntax Obsolete? (of course not)
by Anonymous Monk on Jun 12, 2013 at 03:00 UTC | |
by choroba (Cardinal) on Jun 12, 2013 at 08:53 UTC | |
|
Re: Is POD Syntax Obsolete?
by pemungkah (Priest) on Jun 13, 2013 at 03:40 UTC |