diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-06-13 19:17:50 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-06-13 19:17:50 +0000 |
commit | f02c194e1a40f11d020685cd18b41e5261091b12 (patch) | |
tree | 37863ea19d4769893b861e11cb30b0215621246d /pod/perlvar.pod | |
parent | cff1be36840a17022b50a6f295ed97efe19b975e (diff) | |
download | perl-f02c194e1a40f11d020685cd18b41e5261091b12.tar.gz |
Remove the deprecated $* variable.
Incidentally, this fixes bug #22354, about unwanted
action-at-distance of the /m regexp modifier.
Add a new warning to advertise this fact.
p4raw-id: //depot/perl@19769
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 3b9ed060af..6e2a853007 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -294,26 +294,6 @@ past where $2 ends, and so on. You can use C<$#+> to determine how many subgroups were in the last successful match. See the examples given for the C<@-> variable. -=item $MULTILINE_MATCHING - -=item $* - -Set to a non-zero integer value to do multi-line matching within a -string, 0 (or undefined) to tell Perl that it can assume that strings -contain a single line, for the purpose of optimizing pattern matches. -Pattern matches on strings containing multiple newlines can produce -confusing results when C<$*> is 0 or undefined. Default is undefined. -(Mnemonic: * matches multiple things.) This variable influences the -interpretation of only C<^> and C<$>. A literal newline can be searched -for even when C<$* == 0>. - -Use of C<$*> is deprecated in modern Perl, supplanted by -the C</s> and C</m> modifiers on pattern matching. - -Assigning a non-numerical value to C<$*> triggers a warning (and makes -C<$*> act if C<$* == 0>), while assigning a numerical value to C<$*> -makes that an implicit C<int> is applied on the value. - =item HANDLE->input_line_number(EXPR) =item $INPUT_LINE_NUMBER |