|Keep It Simple, Stupid|
Re: Inline POD vs. EOF PODby pmas (Hermit)
|on Jul 09, 2001 at 18:29 UTC||Need Help??|
I like inline POD better, too.
If enough of us will use inline POD, it will become more standard, and editors will accomodate for it.
To improve readability, what about adding some lines before and after POD comments, like:
Avoiding to 'commute' between sub code and doc comments is exactly the 'good' lazines we highly esteem, right?
Update:I also agree that sometimes the order of inline POD doc might be not the most beneficial, and sometimes info might belong to more than one module. I do not know yet how to solve this.
One of possible solution (for CGI applications) might be to use CGI::Application, which allows to wrap multiple programs as "run modes" into one module. Then, I can write sub in order as it makes sense in documentation.
As I said, I do not have solution, only weak preferences.
That is why I wnat to listen to insight from other monks, to see that other questions meight be asked, and what I forgot to consider.
What a great place is our monastery!
To make errors is human. But to make million errors per second, you need a computer.