diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-20 11:00:31 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-20 11:00:31 +0000 |
commit | 191ef308acdcce58701f68cd6b41f2a3952ef605 (patch) | |
tree | fcb52651b7d9991dc1b04d83713a4c24c68130f0 /pod/perldiag.pod | |
parent | b006b71c6512a00380917bbb671a6d9f5267d7ca (diff) | |
download | perl-191ef308acdcce58701f68cd6b41f2a3952ef605.tar.gz |
Remove the deprecated $# variable
p4raw-id: //depot/perl@24908
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index bfc1258f2b..94c1fd49f5 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2064,6 +2064,12 @@ neither as a system call or an ioctl call (SIOCATMARK). been removed as of 5.9.0 and is no longer supported. You should use the C<//m> and C<//s> regexp modifiers instead. +=item $# is no longer supported + +(D deprecated) The special variable C<$#>, deprecated in older perls, has +been removed as of 5.9.3 and is no longer supported. You should use the +printf/sprintf functions instead. + =item `%s' is not a code reference (W overload) The second (fourth, sixth, ...) argument of overload::constant @@ -4431,11 +4437,6 @@ C<use AutoLoader 'AUTOLOAD';>. (F) You attempted to use a feature of printf that is accessible from only C. This usually means there's a better way to do it in Perl. -=item Use of $# is deprecated - -(D deprecated) This was an ill-advised attempt to emulate a poorly -defined B<awk> feature. Use an explicit printf() or sprintf() instead. - =item Use of %s is deprecated (D deprecated) The construct indicated is no longer recommended for use, |