What do you folks think about 'self-documenting-code'?? Mind you, this is not referring to POD, but something a bit different; as the following illustration exemplifies:
q`<!-- --------------------------- <function_docs> main: - name : DispGreeting desc : display a greeting params: - name : sDest desc : the intended recipient of the greeting rule : optional </function_docs> --------------------------- -->`if(000); sub DispGreeting { my $sDest = shift || "World"; return ( "Hello $sDest" ); }###end_sub
In reply to The sourcecode *is* the documentation, isn't it? by dimar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |