summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/strict.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/strict.pm b/lib/strict.pm
index 1a9a25904a..40fb56e1d3 100644
--- a/lib/strict.pm
+++ b/lib/strict.pm
@@ -124,8 +124,13 @@ See L<perlmodlib/Pragmatic Modules>.
=head1 HISTORY
-C<strict 'subs'>, with perl 5.6.1, erroneously permitted to use an unquoted
+C<strict 'subs'>, with Perl 5.6.1, erroneously permitted to use an unquoted
compound identifier (e.g. C<Foo::Bar>) as a hash key (before C<< => >> or
inside curlies), but without forcing it always to a literal string.
+Starting with Perl 5.8.1 strict is strict about its restrictions:
+if unknown restrictions are used, the strict pragma will abort with
+
+ Unknown 'strict' tag(s) '...'
+
=cut