Battle namespace pollution.
[p5sagit/p5-mst-13.2.git] / pod / perlmodlib.pod
index 7989234..99d31bd 100644 (file)
@@ -30,13 +30,13 @@ by saying:
 
     no integer;
     no strict 'refs';
-    no warning;
+    no warnings;
 
 which lasts until the end of that BLOCK.
 
 Some pragmas are lexically scoped--typically those that affect the
 C<$^H> hints variable.  Others affect the current package instead,
-like C<use vars> and C<use subs>, whic allow you to predeclare a
+like C<use vars> and C<use subs>, which allow you to predeclare a
 variables or subroutines within a particular I<file> rather than
 just a block.  Such declarations are effective for the entire file
 for which they were declared.  You cannot rescind them with C<no
@@ -46,9 +46,13 @@ The following pragmas are defined (and have their own documentation).
 
 =over 12
 
+=item attributes
+
+set/get the attributes of a subroutine or variable
+
 =item attrs
 
-set/get attributes of a subroutine
+set/get attributes of a subroutine (obsolescent)
 
 =item autouse
 
@@ -126,7 +130,7 @@ turn on UTF-8 and Unicode support
 
 predeclare global variable names
 
-=item warning
+=item warnings
 
 control optional warnings
 
@@ -134,10 +138,6 @@ control optional warnings
 
 control VMS-specific language features
 
-=item warning
-
-control optional warnings
-
 =back
 
 =head2 Standard Modules