summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-30 16:04:57 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-30 20:30:44 -0800
commitb3adf4c04b682aa1b048bc826d019a355ea7637d (patch)
tree9fa4390c188a30c56fa86ffbbb24728dfc7e5ff1
parent1eac0b12e4ee84abdae3ef68d4beacd0e626218b (diff)
downloadperl-b3adf4c04b682aa1b048bc826d019a355ea7637d.tar.gz
Fix bad reference in sv.h’s docs
SvPVx should be referring to SvPV as the faster version, not SvPVX.
-rw-r--r--sv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 42821444b4..48b05ec2a4 100644
--- 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.