summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-10-11 23:02:41 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-11 23:04:29 -0700
commit5b36e9450efc47317616775e6c3eb0daba56035c (patch)
treecd7cbc7aa620f5d5e5ce5aebcc8e1796581ad876 /sv.h
parentbb619f370aef1336c90dc1522addf0eff4dfd6c6 (diff)
downloadperl-5b36e9450efc47317616775e6c3eb0daba56035c.tar.gz
Improve documentation of XS autoloading
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sv.h b/sv.h
index 46e53acc29..72cd887026 100644
--- a/sv.h
+++ b/sv.h
@@ -685,10 +685,8 @@ Only use when you are sure SvNOK is true. See also C<SvNV()>.
Returns a pointer to the physical string in the SV. The SV must contain a
string.
-During autoloading, if the AUTOLOAD routine is an XSUB, C<SvPVX(cv)>
-returns the name of the subroutine for which AUTOLOAD was invoked.
-Likewise, C<SvCUR(cv)> returns the length, and C<SvUTF8(cv)> returns true
-if the name is in UTF8.
+This is also used to store the name of an autoloaded subroutine in an XS
+AUTOLOAD routine. See L<perlguts/Autoloading with XSUBs>.
=for apidoc Am|STRLEN|SvCUR|SV* sv
Returns the length of the string which is in the SV. See C<SvLEN>.