diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-04-12 10:17:24 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-04-12 10:17:24 +0100 |
commit | d62c72f64114f2edf113ee55b29ac1c863a007ee (patch) | |
tree | 5fe1f2d461a60b22e6f5e72b0e842a33f1110f77 /pod/perldiag.pod | |
parent | f1a7681278513eea5233f58e1939a9922a31121a (diff) | |
download | perl-d62c72f64114f2edf113ee55b29ac1c863a007ee.tar.gz |
Remove attrs, which has been deprecated since 1999/10/02.
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index d958262609..6170560f01 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -3404,24 +3404,6 @@ If instead you intended to match the word 'foo' at the end of the line followed by whitespace and the word 'bar' on the next line then you can use C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). -=item pragma "attrs" is deprecated, use "sub NAME : ATTRS" instead - -(D deprecated) You have written something like this: - - sub doit - { - use attrs qw(locked); - } - -You should use the new declaration syntax instead. - - sub doit : locked - { - ... - -The C<use attrs> pragma is now obsolete, and is only provided for -backward-compatibility. See L<perlsub/"Subroutine Attributes">. - =item Precedence problem: open %s should be open(%s) (S precedence) The old irregular construct |