In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/4fd19576a68c8e855a000d6fbe59c4761919e185?hp=708f9ca6cd5d97c1d91a54a611d88de6e0986ed2>
- Log ----------------------------------------------------------------- commit 4fd19576a68c8e855a000d6fbe59c4761919e185 Author: Bram <[email protected]> Date: Sun Jun 28 11:39:07 2009 +0200 Document what $* used to do on older versions ----------------------------------------------------------------------- Summary of changes: pod/perldiag.pod | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) 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<//m> and C<//s> 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</m> (and maybe C</s>) 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</m>.) =item $# is no longer supported -- Perl5 Master Repository
