summaryrefslogtreecommitdiff
path: root/pod/perldelta.pod
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-12-18 18:42:34 +0100
committerYves Orton <demerphq@gmail.com>2022-12-22 15:41:12 +0100
commit332af2278b8db03a0735d24a17bbaae7f7e20112 (patch)
tree18170096c3ea3401104a2cacb76ddcad52b11151 /pod/perldelta.pod
parent81620fbedd5f5cb87f240d7809dc669cd60d0139 (diff)
downloadperl-332af2278b8db03a0735d24a17bbaae7f7e20112.tar.gz
sv.c - add support for HvNAMEf and HvNAMEf_QUOTEDPREFIX formats
They are similar to SVf and SVf_QUOTEDPREFIX but take an HV * argument and use HvNAME() and related macros to extract the string. This is helpful as it makes constructing error messages from a stash (HV *) easier. It is the callers responsibility to ensure that the HV is actually a stash.
Diffstat (limited to 'pod/perldelta.pod')
-rw-r--r--pod/perldelta.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 878f38d252..c578ea0dd0 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -350,6 +350,12 @@ well.
XXX
+=item *
+
+Added HvNAMEf and HvNAMEf_QUOTEDPREFIX special formats. They take an HV *
+as an argument and use C<HvNAME()> and related macros to determine the string,
+its length, and whether it is utf8.
+
=back
=head1 Selected Bug Fixes