This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
panic if S_utf16_textfilter() is called in block mode.
[perl5.git] / pod / perllol.pod
index f015a20..c42c977 100644 (file)
@@ -4,9 +4,9 @@ perllol - Manipulating Arrays of Arrays in Perl
 
 =head1 DESCRIPTION
 
-=head1 Declaration and Access of Arrays of Arrays
+=head2 Declaration and Access of Arrays of Arrays
 
-The simplest thing to build an array of arrays (sometimes imprecisely
+The simplest thing to build is an array of arrays (sometimes imprecisely
 called a list of lists).  It's reasonably easy to understand, and
 almost everything that applies here will also be applicable later
 on with the fancier data structures.
@@ -58,7 +58,7 @@ square or curly), you are free to omit the pointer dereferencing arrow.
 But you cannot do so for the very first one if it's a scalar containing
 a reference, which means that $ref_to_AoA always needs it.
 
-=head1 Growing Your Own
+=head2 Growing Your Own
 
 That's all well and good for declaration of a fixed data structure,
 but what if you wanted to add new elements on the fly, or build
@@ -174,7 +174,7 @@ Notice that I I<couldn't> say just:
 In fact, that wouldn't even compile.  How come?  Because the argument
 to push() must be a real array, not just a reference to such.
 
-=head1 Access and Printing
+=head2 Access and Printing
 
 Now it's time to print your data structure out.  How
 are you going to do that?  Well, if you want only one
@@ -231,7 +231,7 @@ Hmm... that's still a bit ugly.  How about this:
        }
     }
 
-=head1 Slices
+=head2 Slices
 
 If you want to get at a slice (part of a row) in a multidimensional
 array, you're going to have to do some fancy subscripting.  That's
@@ -276,7 +276,7 @@ have selected map for that
 
     @newAoA = map { [ @{ $AoA[$_] } [ 7..12 ] ] } 4 .. 8;
 
-Although if your manager accused of seeking job security (or rapid
+Although if your manager accused you of seeking job security (or rapid
 insecurity) through inscrutable code, it would be hard to argue. :-)
 If I were you, I'd put that in a function: