From: Father Chrysostomos Date: Mon, 14 Feb 2011 00:57:27 +0000 (-0800) Subject: perldiag: reflow $* and $# X-Git-Tag: v5.13.10~263 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/a58ac25e92f5a203cf2a2bbf7dff77aade544833 perldiag: reflow $* and $# --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index f44c957..3e4e978 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2340,19 +2340,20 @@ neither as a system call nor an ioctl call (SIOCATMARK). =item $* is no longer supported -(D deprecated, syntax) The special variable C<$*>, deprecated in older perls, has -been removed as of 5.9.0 and is no longer supported. In previous versions of perl the use of -C<$*> enabled or disabled multi-line matching within a string. +(D deprecated, syntax) The special variable C<$*>, deprecated in older +perls, has been removed as of 5.9.0 and is no longer supported. In +previous versions of perl the use of C<$*> enabled or disabled multi-line +matching within a string. Instead of using C<$*> you should use the C (and maybe C) regexp -modifiers. (In older versions: when C<$*> was set to a true value then all regular -expressions behaved as if they were written using C.) +modifiers. (In older versions: when C<$*> was set to a true value then +all regular expressions behaved as if they were written using C.) =item $# is no longer supported -(D deprecated, syntax) 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. +(D deprecated, syntax) 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