Package: perl-doc
Version: 5.8.8-6.1
Severity: wishlist
File: /usr/share/man/man1/perlvar.1.gz
There I am on my tiny PDA, reading and embedding in what precious
brain cells left,
$* 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 $* is 0 or undefined. Default is undefined.
(Mnemonic: * matches multiple things.) This variable
influences the interpretation of only "^" and "$". A lit-
eral newline can be searched for even when "$* == 0".
Upon which I encounter
Use of $* is deprecated in modern Perl, supplanted by the
"/s" and "/m" modifiers on pattern matching.
Oh great, why couldn't deprecation also be mentioned at the beginning
of the $* discussion? That way I could have spared the cells. Same for
others on this page.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]