Fix bad reference in sv.h’s docs
authorFather Chrysostomos <sprout@cpan.org>
Sat, 31 Dec 2011 00:04:57 +0000 (16:04 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 31 Dec 2011 04:30:44 +0000 (20:30 -0800)
SvPVx should be referring to SvPV as the faster version, not SvPVX.

sv.h

diff --git a/sv.h b/sv.h
index 4282144..48b05ec 100644 (file)
--- a/sv.h
+++ b/sv.h
@@ -1417,7 +1417,7 @@ C<SvPVx> for a version which guarantees to evaluate sv only once.
 =for apidoc Am|char*|SvPVx|SV* sv|STRLEN len
 A version of C<SvPV> which guarantees to evaluate C<sv> only once.
 Only use this if C<sv> is an expression with side effects, otherwise use the
-more efficient C<SvPVX>.
+more efficient C<SvPV>.
 
 =for apidoc Am|char*|SvPV_nomg|SV* sv|STRLEN len
 Like C<SvPV> but doesn't process magic.