Index: /trunk/doc/misc/perlCodeConventions.tex
===================================================================
--- /trunk/doc/misc/perlCodeConventions.tex	(revision 2332)
+++ /trunk/doc/misc/perlCodeConventions.tex	(revision 2333)
@@ -1,3 +1,3 @@
-%%% $Id: perlCodeConventions.tex,v 1.2 2004-11-11 01:55:58 jhoblitt Exp $
+%%% $Id: perlCodeConventions.tex,v 1.3 2004-11-11 02:00:42 jhoblitt Exp $
 \documentclass[panstarrs]{panstarrs}
 
@@ -155,5 +155,5 @@
 # Copyright (C) 2004  Joshua Hoblitt
 #
-# $Id: perlCodeConventions.tex,v 1.2 2004-11-11 01:55:58 jhoblitt Exp $
+# $Id: perlCodeConventions.tex,v 1.3 2004-11-11 02:00:42 jhoblitt Exp $
 
 use 5.008005;   # optional
@@ -212,5 +212,5 @@
 # Copyright (C) 2004  Joshua Hoblitt
 #
-# $Id: perlCodeConventions.tex,v 1.2 2004-11-11 01:55:58 jhoblitt Exp $
+# $Id: perlCodeConventions.tex,v 1.3 2004-11-11 02:00:42 jhoblitt Exp $
 
 package Foo;
@@ -471,31 +471,5 @@
 \end{verbatim}
 
-\subsection{Initialization}
-
-Try to initialize local variables where they're declared.  The only
-reason not to initialize a variable where it's declared is if the
-initial value depends on some computation occurring first.
-
-In some cases it may be necessary to initialize a variable to suppress
-a compiler warning; in this case a comment should explain the circumstances.
-
-\subsection{Placement}
-
-Variables should ordinarily be declared at the top of the block in
-which they appear, unless there is some reason to declare them later.
-This allows them to be initialised as they are created, and naturally
-associates their declaration with their use.
-
-
-Indexes of loops should usually be declared on the line above loop statement.
-
-\begin{verbatim}
-my $i = 0;
-for (i < $maxLoops) {
-    # do stuff
-
-    $i++;
-}
-\end{verbatim}
+\subsection{Local Variables}
 
 Avoid \code{local} declarations that hide user declared variables from higher
@@ -510,4 +484,34 @@
     local $count;
     ...
+}
+\end{verbatim}
+
+Note: This restiction does not apply to Perl's built in variables.
+
+\subsection{Initialization}
+
+Try to initialize local variables where they're declared.  The only
+reason not to initialize a variable where it's declared is if the
+initial value depends on some computation occurring first.
+
+In some cases it may be necessary to initialize a variable to suppress
+a compiler warning; in this case a comment should explain the circumstances.
+
+\subsection{Placement}
+
+Variables should ordinarily be declared at the top of the block in
+which they appear, unless there is some reason to declare them later.
+This allows them to be initialised as they are created, and naturally
+associates their declaration with their use.
+
+
+Indexes of loops should usually be declared on the line above loop statement.
+
+\begin{verbatim}
+my $i = 0;
+for (i < $maxLoops) {
+    # do stuff
+
+    $i++;
 }
 \end{verbatim}
