summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-05-08 21:19:13 -0600
committerKarl Williamson <khw@cpan.org>2015-09-03 23:10:37 -0600
commitdfcfced87c53cd0e680cd0c19f02f785a2ad6692 (patch)
treebadd3cbb99868be04dba4365c108867cfe6dc7a7
parent61b16eb90f32a2433d6de43e477a03b8d9fed039 (diff)
downloadperl-dfcfced87c53cd0e680cd0c19f02f785a2ad6692.tar.gz
perlapi: Change some 'eg' to 'e.g.'
To make more standard
-rw-r--r--cv.h2
-rw-r--r--mg.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cv.h b/cv.h
index d4dfd2d3f9..ebbdd360f3 100644
--- a/cv.h
+++ b/cv.h
@@ -264,7 +264,7 @@ There is a further complication with non-closure anonymous subs (i.e. those
that do not refer to any lexicals outside that sub). In this case, the
anonymous prototype is shared rather than being cloned. This has the
consequence that the parent may be freed while there are still active
-children, eg
+children, I<e.g.>,
BEGIN { $a = sub { eval '$x' } }
diff --git a/mg.c b/mg.c
index 18593914ca..8d95e27e91 100644
--- a/mg.c
+++ b/mg.c
@@ -486,8 +486,8 @@ Perl_mg_copy(pTHX_ SV *sv, SV *nsv, const char *key, I32 klen)
=for apidoc mg_localize
Copy some of the magic from an existing SV to new localized version of that
-SV. Container magic (eg C<%ENV>, C<$1>, C<tie>)
-gets copied, value magic doesn't (eg
+SV. Container magic (I<e.g.>, C<%ENV>, C<$1>, C<tie>)
+gets copied, value magic doesn't (I<e.g.>,
C<taint>, C<pos>).
If C<setmagic> is false then no set magic will be called on the new (empty) SV.