mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
Fix bad reference in sv.h’s docs
SvPVx should be referring to SvPV as the faster version, not SvPVX.
This commit is contained in:
parent
1eac0b12e4
commit
b3adf4c04b
2
sv.h
2
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user