Larry Wall writes: : Dave Mitchell writes: : : | anyone know precisely what the following means? : : : : "K&R" style for indenting control constructs : : Strictly speaking, it means you always put the opening bracket on the : same line as the keyword, and only worry about lining up the closing : bracket: That's funny, my examples disappeared, leaving only a colon. Here: mumble (natter, gromish) { ... } I then went on to point out that if there are multiple lines in the front matter, I like to line up the first bracket as well: mumble (natter, gromish, natter, gromish, natter, gromish, natter, gromish) { ... } Larry
- PDD: Conventions and Guidelines for Perl Source Code Dave Mitchell
- Re: PDD: Conventions and Guidelines for Perl Source... Alan Burlison
- Re: PDD: Conventions and Guidelines for Perl Source... Dave Mitchell
- Re: PDD: Conventions and Guidelines for Perl Source... Larry Wall
- Re: PDD: Conventions and Guidelines for Perl So... Jarkko Hietaniemi
- Re: PDD: Conventions and Guidelines for Perl So... Larry Wall
- Re: PDD: Conventions and Guidelines for Perl Source... Dave Mitchell
- Re: PDD: Conventions and Guidelines for Perl Source... Larry Wall
- Re: PDD: Conventions and Guidelines for Perl Source... Dan Sugalski
- Re: PDD: Conventions and Guidelines for Perl Source... Dan Sugalski
- Re: PDD: Conventions and Guidelines for Perl Source... Jarkko Hietaniemi
- Re: PDD: Conventions and Guidelines for Perl Source... Benjamin Sugars
- Re: PDD: Conventions and Guidelines for Perl Source... Alan Burlison
- Re: PDD: Conventions and Guidelines for Perl Source... Alan Burlison
- Re: PDD: Conventions and Guidelines for Perl Source... Nick Ing-Simmons
- Re: PDD: Conventions and Guidelines for Perl Source... Dave Mitchell