Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: flower box comments

by Roger (Parson)
on Nov 17, 2003 at 07:11 UTC ( #307587=note: print w/replies, xml ) Need Help??


in reply to flower box comments

The commenting style your group uses is not bad, it states the purpose of the subroutine clearly. And it would not be hard to write a parser to extract documentations from the code either.

Just a side note on the code shown -
return @recs;
Won't it be more efficient if return reference instead?
return \@recs;

Replies are listed 'Best First'.
Re: Re: flower box comments
by chromatic (Archbishop) on Nov 18, 2003 at 03:43 UTC

    It also would not be hard* to write a parser to extract POD from the code.

    * In the sense that someone else has already done it. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://307587]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2019-10-23 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?