summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2012-08-25 12:28:38 +0200
committerYves Orton <demerphq@gmail.com>2012-08-25 12:29:05 +0200
commit566a47183036deef74951fc8ae518f56a9e2802e (patch)
tree44fa1b3eced996e1dabb61e355e8c8e783376890 /hv.h
parenta8b106e98e200a856e104d1f320e306cea9369e4 (diff)
downloadperl-566a47183036deef74951fc8ae518f56a9e2802e.tar.gz
minor doc patches to api stuff
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index 6544363a39..e20091e384 100644
--- a/hv.h
+++ b/hv.h
@@ -208,7 +208,12 @@ be assigned to. The C<HePV()> macro is usually preferable for finding key
lengths.
=for apidoc Am|SV*|HeVAL|HE* he
-Returns the value slot (type C<SV*>) stored in the hash entry.
+Returns the value slot (type C<SV*>) stored in the hash entry. Can be assigned
+to.
+
+ SV *foo= HeVAL(hv);
+ HeVAL(hv)= sv;
+
=for apidoc Am|U32|HeHASH|HE* he
Returns the computed hash stored in the hash entry.