summaryrefslogtreecommitdiff
path: root/pod/perlunicode.pod
diff options
context:
space:
mode:
authorSADAHIRO Tomoyuki <BQW10602@nifty.com>2004-02-07 09:08:36 +0900
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-02-08 11:42:08 +0000
commitf5b005ca88f5f6ed7eaad9335c79e59a5874c00a (patch)
treefb645398dc02f4d9d4b057370e5882f88e174a15 /pod/perlunicode.pod
parent752f6c60047f2fe3834832a1654d72ea5afe3f22 (diff)
downloadperl-f5b005ca88f5f6ed7eaad9335c79e59a5874c00a.tar.gz
chomp() cares about Unicode
Message-Id: <20040206235116.0E36.BQW10602@nifty.com> p4raw-id: //depot/perl@22284
Diffstat (limited to 'pod/perlunicode.pod')
-rw-r--r--pod/perlunicode.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index b05edab7b5..7de87ac72c 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -559,10 +559,10 @@ that make the distinction.
Most operators that deal with positions or lengths in a string will
automatically switch to using character positions, including
-C<chop()>, C<substr()>, C<pos()>, C<index()>, C<rindex()>,
+C<chop()>, C<chomp()>, C<substr()>, C<pos()>, C<index()>, C<rindex()>,
C<sprintf()>, C<write()>, and C<length()>. Operators that
specifically do not switch include C<vec()>, C<pack()>, and
-C<unpack()>. Operators that really don't care include C<chomp()>,
+C<unpack()>. Operators that really don't care include
operators that treats strings as a bucket of bits such as C<sort()>,
and operators dealing with filenames.