summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-18 17:57:11 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-18 17:57:11 -0800
commit2836693588eb28b4707239cc6f6c72b3c54749ad (patch)
tree0ff90399b1f507319d5f903b898f77d61900b4da
parentdd14f06c60285679a484c83c08394ed432babee1 (diff)
downloadperl-2836693588eb28b4707239cc6f6c72b3c54749ad.tar.gz
Tweaks to find_uninit_var docs
• Typos • Double space after fullstop, as that is how nroff renders a fullstop at the end of a line in mid-paragraph.
-rw-r--r--sv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sv.c b/sv.c
index 3bbf5db322..7cfa3009fb 100644
--- a/sv.c
+++ b/sv.c
@@ -13833,12 +13833,12 @@ S_varname(pTHX_ const GV *const gv, const char gvtype, PADOFFSET targ,
/*
=for apidoc find_uninit_var
-Find the name of the undefined variable (if any) that caused the operator o
+Find the name of the undefined variable (if any) that caused the operator
to issue a "Use of uninitialized value" warning.
-If match is true, only return a name if it's value matches uninit_sv.
+If match is true, only return a name if its value matches uninit_sv.
So roughly speaking, if a unary operator (such as OP_COS) generates a
warning, then following the direct child of the op may yield an
-OP_PADSV or OP_GV that gives the name of the undefined variable. On the
+OP_PADSV or OP_GV that gives the name of the undefined variable. On the
other hand, with OP_ADD there are two branches to follow, so we only print
the variable name if we get an exact match.