Citeren "naesten@gmail.com (via RT)" <perlbug-followup@perl.org>: > ----------------------------------------------------------------- > > I got this warning when running a script that had presumably gone > unused for some time: > > $* is no longer supported at ./src/doc/DANG/DANG_c.pl line 402. > > Looking it up in perldiag, I found: [...] > > But that still left me without much clue as to how what $* actually > did relates to "//m" and "//s" or how to update old code that used it. Attached is a patch that updates the documentation of $* in perldiag. Old: $* is no longer supported (S deprecated, syntax) The special variable $*, deprecated in older perls, has been removed as of 5.9.0 and is no longer supported. You should use the "//m" and "//s" regexp modifiers instead. New: $* is no longer supported (S deprecated, syntax) The special variable $*, 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 $* enabled or disabled multi-line matching within a string. Instead of using $* you should use the "/m" (and maybe "/s") regexp modifiers. (In older versions: when $* was set to a true value then all regular expressions behaved as if they were written using "/m".) Best regards, BramThread Previous | Thread Next