pf-tools commit: r877 [parmelan-guest] - /branches/next-gen/README.coding.style

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Tue Sep 7 08:45:24 UTC 2010


Author: parmelan-guest
Date: Tue Sep  7 08:45:17 2010
New Revision: 877

URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=877
Log:
Let's start with some documentation about our future coding style.

Added:
    branches/next-gen/README.coding.style

Added: branches/next-gen/README.coding.style
URL: http://svn.debian.org/wsvn/pf-tools/branches/next-gen/README.coding.style?rev=877&op=file
==============================================================================
--- branches/next-gen/README.coding.style (added)
+++ branches/next-gen/README.coding.style Tue Sep  7 08:45:17 2010
@@ -1,0 +1,11 @@
+To improve things in pf-tools, we'll be slowly implementing more and
+more Perl Best Practices (go read it, it's really worth it!) in the
+future. The following are just a beginning:
+
+* Indentation: perltidy --perl-best-practices
+
+* Things to have in all packages and programs:
+  - use strict;
+  - use warnings;
+  - use English qw( -no_match_vars ); # Avoids regex performance penalty
+




More information about the pf-tools-commits mailing list