mandog has asked for the wisdom of the Perl Monks concerning the following question:
Some folks in my group favor comments in this style:
#--------------------------------------------------------- # Function: get_records (taken from process_member.pl) # Arguments: DB handle # sql query string # Returns: result array of SQL query #--------------------------------------------------------- sub get_records { my ( $db_handle_ref, $sql ) = @_; my @recs; # [...] return @recs; }
I have doubts about this style. Perhaps there is some advantage I am missing ?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: flower box comments
by Itatsumaki (Friar) on Nov 17, 2003 at 06:33 UTC | |
Re: flower box comments
by Zaxo (Archbishop) on Nov 17, 2003 at 06:31 UTC | |
Re: flower box comments
by PodMaster (Abbot) on Nov 17, 2003 at 06:33 UTC | |
by cleverett (Friar) on Nov 17, 2003 at 08:12 UTC | |
by PodMaster (Abbot) on Nov 17, 2003 at 20:11 UTC | |
by cleverett (Friar) on Nov 17, 2003 at 21:36 UTC | |
Re: flower box comments
by EdwardG (Vicar) on Nov 17, 2003 at 10:06 UTC | |
Re: flower box comments
by vacant (Pilgrim) on Nov 17, 2003 at 06:34 UTC | |
Re: flower box comments
by AcidHawk (Vicar) on Nov 17, 2003 at 06:52 UTC | |
Re: flower box comments
by gjb (Vicar) on Nov 17, 2003 at 08:49 UTC | |
Re: flower box comments
by hieronymus (Scribe) on Nov 17, 2003 at 12:52 UTC | |
Re: flower box comments
by adrianh (Chancellor) on Nov 17, 2003 at 15:01 UTC | |
Re: flower box comments
by Roger (Parson) on Nov 17, 2003 at 07:11 UTC | |
by chromatic (Archbishop) on Nov 18, 2003 at 03:43 UTC | |
Re: flower box comments
by Ninthwave (Chaplain) on Nov 17, 2003 at 14:24 UTC | |
Re: flower box comments
by bluto (Curate) on Nov 17, 2003 at 18:36 UTC |
Back to
Seekers of Perl Wisdom