summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-12-05 06:09:42 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-12-05 09:36:11 -0800
commitbd047b2c46c84dde15e7333abb2ecb4a248079d0 (patch)
tree298e7a288ee80cfdf153460b683b7bf4a6a5c561 /sv.c
parent235fc0448781935a0881cec712da57f29b35d9a9 (diff)
downloadperl-bd047b2c46c84dde15e7333abb2ecb4a248079d0.tar.gz
sv.c: Correct newSVpvn_share docs
something I overlooked
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 72d41cadff..8bc60db532 100644
--- a/sv.c
+++ b/sv.c
@@ -8613,7 +8613,8 @@ Perl_newSVhek(pTHX_ const HEK *const hek)
Creates a new SV with its SvPVX_const pointing to a shared string in the string
table. If the string does not already exist in the table, it is
-created first. Turns on READONLY and FAKE. If the C<hash> parameter
+created first. Turns on the SvIsCOW flag (or READONLY
+and FAKE in 5.16 and earlier). If the C<hash> parameter
is non-zero, that value is used; otherwise the hash is computed.
The string's hash can later be retrieved from the SV
with the C<SvSHARED_HASH()> macro. The idea here is