> > "K&R" style for indenting control constructs: ie the closing C<}> should > > line up with the opening C<if> etc. > > > > =item * > > > > When a conditional spans multiple lines, the opening brace must line up > > with the "if" or "while", or be at the end-of-line otherwise. > > I certainly will not change existing code that's written like this, but - since > IMHO this is *poor* GNU coding style - I will submit /new/ code snippets > formatted my own way: the right way. It's then up to the pumpking to accept or > reject it. The above two are essentially just rehashes of what's already in Porting/patching.pod, and seems to reflect existing practice (loosely speaking). What do you regard as the 'right' way? Just to check you're not being mislead by poor wording, the above is supposed to propose if (...) { ... } and if (... ..... .....) { .... }
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Abhijit Menon-Sen
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Bart Lateur
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Dan Sugalski
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Graham Barr
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Larry Wall
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Dan Sugalski
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Russ Allbery
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Dave Mitchell
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Graham Barr
- Re: PDD 2nd go: Conventions and Guidelines for Perl... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Dan Sugalski
- Re: PDD 2nd go: Conventions and Guidelines for Perl... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Jarkko Hietaniemi
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Jarkko Hietaniemi
- Re: PDD 2nd go: Conventions and Guidelines for Perl Sour... Hugo