Integrate changes #9511,9514,9517 from maintperl into mainline.
[p5sagit/p5-mst-13.2.git] / pod / perlfaq7.pod
index 9e559f7..0299c2d 100644 (file)
@@ -397,7 +397,7 @@ they'll still work properly under C<use strict 'refs'>.  For example:
 If you're planning on generating new filehandles, you could do this:
 
     sub openit {
-        my $name = shift;
+        my $path = shift;
         local *FH;
         return open (FH, $path) ? *FH : undef;
     }