diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-12 03:21:53 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-12 03:21:53 +0000 |
commit | cbbb4974056af1e7a177ba8ca58779a81d7f0bcd (patch) | |
tree | 84a52f2ddb7a7201823d04b6074b003074e4bdf4 /lib/strict.pm | |
parent | e3f9004a9cbdbe5f61eebdfb031db03bf3db9f2e (diff) | |
download | perl-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.pm | 7 |
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 |