From 38248b9d23f2dd91529d8b3c32ad8f5f3ec93950 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Thu, 13 Sep 2012 21:23:34 -0700 Subject: [PATCH 1/1] perldiag: 13 years for reserved word deprec. is enough MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use of ‘our’ (which was not a keyword yet) was deprecated in 1997 in commit 85b81015bd, so that it could be used as a keyword later. ‘our’ variables were introduced in 1999 in commit 77ca0c92d2c, remov- ing the deprecation warning. The notice in perldiag survived, ...till now. --- pod/perldiag.pod | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 7c116a3..0de3c1a 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -5533,15 +5533,6 @@ C<$array[0+$ref]>. This warning is not given for overloaded objects, however, because you can overload the numification and stringification operators and then you presumably know what you are doing. -=item Use of reserved word "%s" is deprecated - -(D deprecated) The indicated bareword is a reserved word. Future -versions of perl may use it as a keyword, so you're better off either -explicitly quoting the word in a manner appropriate for its context of -use, or using a different name altogether. The warning can be -suppressed for subroutine names by either adding a C<&> prefix, or using -a package qualifier, e.g. C<&our()>, or C. - =item Use of tainted arguments in %s is deprecated (W taint, deprecated) You have supplied C or C with multiple -- 1.8.3.1