This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ppport.h: Don't print unsupported info for invalid entries
[perl5.git] / hv.c
diff --git a/hv.c b/hv.c
index 0dbd900..da0014c 100644 (file)
--- a/hv.c
+++ b/hv.c
@@ -3746,8 +3746,14 @@ Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he)
 /*
 =for apidoc cop_fetch_label
 
-Returns the label attached to a cop.
-The flags pointer may be set to C<SVf_UTF8> or 0.
+Returns the label attached to a cop, and stores its length in bytes into
+C<*len>.
+Upon return, C<*flags> will be set to either C<SVf_UTF8> or 0.
+
+Alternatively, use the macro L</C<CopLABEL_len_flags>>;
+or if you don't need to know if the label is UTF-8 or not, the macro
+L</C<CopLABEL_len>>;
+or if you additionally dont need to know the length, L</C<CopLABEL>>.
 
 =cut
 */