summaryrefslogtreecommitdiff
path: root/lib/strict.pm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-09-12 03:21:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-09-12 03:21:53 +0000
commitcbbb4974056af1e7a177ba8ca58779a81d7f0bcd (patch)
tree84a52f2ddb7a7201823d04b6074b003074e4bdf4 /lib/strict.pm
parente3f9004a9cbdbe5f61eebdfb031db03bf3db9f2e (diff)
downloadperl-cbbb4974056af1e7a177ba8ca58779a81d7f0bcd.tar.gz
Document the new strict strict in strict.
p4raw-id: //depot/perl@21193
Diffstat (limited to 'lib/strict.pm')
-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