This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #126469] document the ob parameter to sv_reftype()
authorTony Cook <tony@develop-help.com>
Thu, 29 Oct 2015 04:07:09 +0000 (15:07 +1100)
committerTony Cook <tony@develop-help.com>
Mon, 9 Nov 2015 00:53:15 +0000 (11:53 +1100)
sv.c

diff --git a/sv.c b/sv.c
index 5366ae0..d23cd75 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -9933,6 +9933,9 @@ Perl_sv_pvutf8n_force(pTHX_ SV *const sv, STRLEN *const lp)
 
 Returns a string describing what the SV is a reference to.
 
+If ob is true and the SV is blessed, the string is the class name,
+otherwise it is the type of the SV, "SCALAR", "ARRAY" etc.
+
 =cut
 */