From: Bram Date: Sun, 28 Jun 2009 09:39:07 +0000 (+0200) Subject: Document what $* used to do on older versions X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4fd19576a68c8e855a000d6fbe59c4761919e185;p=p5sagit%2Fp5-mst-13.2.git Document what $* used to do on older versions --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 0b3dc3b..dc0c5ea 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2181,8 +2181,12 @@ neither as a system call or an ioctl call (SIOCATMARK). =item $* is no longer supported (S deprecated, syntax) The special variable C<$*>, deprecated in older perls, has -been removed as of 5.9.0 and is no longer supported. You should use the -C and C regexp modifiers instead. +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.) =item $# is no longer supported