http://qs321.pair.com?node_id=11117812


in reply to Re^4: Section Dividers - What are your thoughts (POD antipattern)
in thread Section Dividers - What are your thoughts

You mean Literate Programming and for clarity POD isn't!
Sorry, my mistake. Yes, POD is isn't NOWEB. (I think that you would agree that embedding a literate programming system in /usr/bin/perl would complicate things too much.)

Replies are listed 'Best First'.
Re^6: Section Dividers - What are your thoughts (literate programming)
by LanX (Saint) on Jun 08, 2020 at 12:41 UTC

    > (I think that you would agree that embedding a literate programming system in /usr/bin/perl would complicate things too much.

    No, I disagree in this generality. But it depends what the goal is.

    I'm not sure if Knuth had the possibilities to use modules as alternatives back then. And he didn't know the necessities of CPAN (though CTAN was the source)

    Personally I like having some docs* close to code.

    That's why I once realized a solution to parse docs from sub modules to generate a .pod file.

    Not sure what LP can offer more here or if this even helps realizing it's main goal.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

    *) there are many different types of documenation, which need to be separated in this discussion here.