diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-10-11 23:02:41 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-11 23:04:29 -0700 |
commit | 5b36e9450efc47317616775e6c3eb0daba56035c (patch) | |
tree | cd7cbc7aa620f5d5e5ce5aebcc8e1796581ad876 /sv.h | |
parent | bb619f370aef1336c90dc1522addf0eff4dfd6c6 (diff) | |
download | perl-5b36e9450efc47317616775e6c3eb0daba56035c.tar.gz |
Improve documentation of XS autoloading
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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>. |