This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RESENT - [PATCH] utf8_heavy.pl
[perl5.git] / lib / strict.pm
index 042227f..737cb18 100644 (file)
@@ -37,6 +37,14 @@ use symbolic references (see L<perlref>).
     $file = "STDOUT";
     print $file "Hi!"; # error; note: no comma after $file
 
+There is one exception to this rule:
+
+    $bar = \&{'foo'};
+    &$bar;
+
+is allowed so that C<goto &$AUTOLOAD> would not break under stricture.
+
+
 =item C<strict vars>
 
 This generates a compile-time error if you access a variable that wasn't
@@ -82,7 +90,7 @@ See L<perlmodlib/Pragmatic Modules>.
 
 =cut
 
-$strict::VERSION = "1.01";
+$strict::VERSION = "1.02";
 
 my %bitmask = (
 refs => 0x00000002,