|
|
| "be consistent" | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
> Why do you want to do this rather than just use POD?
POD is normally used to describe the public API of a module and many people oppose weaving POD snippets close to subs. Furthermore automatically finding the corresponding POD-part for a function isn't trivial. Docstrings OTOH are closely tied and great for introspection in an interactive system, like REPLs or applications with embedded scripting. I'm inspecting LISP docstrings in emacs every day when browsing thru functions.
Cheers Rolf In reply to Re^2: Accessing a scalar value in another subroutine?
by LanX
|
|