develooper Front page | perl.perl6.internals | Postings from August 2001

Re: Final draft: Conventions and Guidelines for Perl Source Code

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
August 13, 2001 14:18
Subject:
Re: Final draft: Conventions and Guidelines for Perl Source Code
Message ID:
20010813221840.P62781@plum.flirble.org
On Mon, Aug 13, 2001 at 11:58:18AM -0700, Hong Zhang wrote:
> BTW, I am not sure it has been mentioned already. We should enfore
> {} even for single line block. Since we use plenty of macros that
> may be expanded to multi lines, it is much safer and consistent
> to always use {}.

"enforce" to the point of setting up gnu indent to format the way we like
on check-in? [I know that cvs can do this, can perforce too?]

[or at least figure out the settings so that it's easy to diff between
the one-true-indent and the actual code]

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About