develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r34984 - trunk/docs/book

January 5, 2009 06:19
[svn:parrot] r34984 - trunk/docs/book
Message ID:
Author: Whiteknight
Date: Mon Jan  5 06:19:21 2009
New Revision: 34984


[Book] Two small modifications, preparing to include more info about LexPads

Modified: trunk/docs/book/ch04_pir_subroutines.pod
--- trunk/docs/book/ch04_pir_subroutines.pod	(original)
+++ trunk/docs/book/ch04_pir_subroutines.pod	Mon Jan  5 06:19:21 2009
@@ -409,7 +409,7 @@
       #x, y, and z are all visible here
-=head3 Declaring and Using Nested Subroutines
+=head3 Lexical Variables
 As we have seen above, we can declare a new subroutine to be a nested inner
 subroutine of an existing outer subroutine using the C<:outer> flag. The
@@ -421,10 +421,7 @@
 subroutines, the C<.lex> command defines a local variable that follows these
 scoping rules.
-Sound confusing? It's not so bad. The basics are that we use C<:outer> to
-define a lexically-scoped subroutine, and we use C<.lex> to define lexically
-scoped variables in those subroutines. It's only when things start getting
-crazy with multisubs that we need to worry about any more details then that.
+=head3 Lexpad PMCs
 =head2 Compilation Units Revisited Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About