summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorMike Guy <mjtg@cam.ac.uk>2000-09-01 18:43:33 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-09-01 19:37:40 +0000
commit246fae53ea6ae12991e7653f136a0f797ce002d4 (patch)
tree217a07ca92ca48618ff14c8cead58f88b284fbb3 /pod/perlfunc.pod
parent93d73c42a7dc0b497a6a2eb40edcb6429896653c (diff)
downloadperl-246fae53ea6ae12991e7653f136a0f797ce002d4.tar.gz
Fix vec() / utf8 (was Re: bitvec ops still broken with utf8 -- or not?)
Message-Id: <E13Utuf-0004Bw-00@draco.cus.cam.ac.uk> p4raw-id: //depot/perl@6988
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index a1381f1d3a..c3ba7366da 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -5510,6 +5510,9 @@ If an element off the end of the string is written to, Perl will first
extend the string with sufficiently many zero bytes. It is an error
to try to write off the beginning of the string (i.e. negative OFFSET).
+The string must not contain any character with value > 255 (which
+can only happen if you're using UTF8 encoding).
+
Strings created with C<vec> can also be manipulated with the logical
operators C<|>, C<&>, C<^>, and C<~>. These operators will assume a bit
vector operation is desired when both operands are strings.