Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-02-27 02:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found