diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-19 15:55:09 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-19 15:55:09 +0000 |
commit | 0a1cd6876ba3626bc024955a009f06feab677d27 (patch) | |
tree | 9096613ba09286f976d2ae1e663de1485fd45481 /pod | |
parent | 81e118e078828ea41cd654ee18f4193484a89cf3 (diff) | |
download | perl-0a1cd6876ba3626bc024955a009f06feab677d27.tar.gz |
Don't document ill-defined vec() bits cases
(for which the code doesn't work right in any case)
p4raw-id: //depot/cfgperl@4005
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 4 | ||||
-rw-r--r-- | pod/perlfunc.pod | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index fe1c2b0dc2..49e654afb5 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1521,8 +1521,8 @@ before the illegal character. =item Illegal number of bits in vec -(F) The number of bits in vec() (the third argument) must be from 1 to 8 -(inclusive), or 16, or 32. +(F) The number of bits in vec() (the third argument) must be a power of +two from 1 to 32. =item Illegal switch in PERL5OPT: %s diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index f4e37096a1..0e4b7c7cc3 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4990,7 +4990,7 @@ See also C<keys>, C<each>, and C<sort>. Treats the string in EXPR as a vector of unsigned integers, and returns the value of the bit field specified by OFFSET. BITS specifies the number of bits that are reserved for each entry in the -bit vector. This must be between 1 and 8 (inclusive), or 16, or 32. +bit vector. This must be a power of two from 1 to 32. C<vec> may also be assigned to, in which case parentheses are needed to give the expression the correct precedence as in |