summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2019-01-31 14:52:14 +1100
committerTony Cook <tony@develop-help.com>2019-08-08 15:28:35 +1000
commit1172c104c90af393d8285157cc149375f71f636e (patch)
tree825d65bb44b638fcf74c12e82309c6de0dbbec4c /intrpvar.h
parentc07b34e4260456bf87b544335b4a7b05f2a856c6 (diff)
downloadperl-1172c104c90af393d8285157cc149375f71f636e.tar.gz
(perl #132777) document and APIify PL_defgv
This is used occasionally on CPAN, typically to access $_.
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h
index fdc610dc73..98beddfcf1 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -93,6 +93,14 @@ PERLVARI(I, tainted, bool, FALSE) /* using variables controlled by $< */
*/
PERLVAR(I, delaymagic, U16) /* ($<,$>) = ... */
+/*
+=for apidoc Amn|GV *|PL_defgv
+
+The GV representing C<*_>. Useful for access to C<$_>.
+
+=cut
+*/
+
PERLVAR(I, localizing, U8) /* are we processing a local() list? */
PERLVAR(I, in_eval, U8) /* trap "fatal" errors? */
PERLVAR(I, defgv, GV *) /* the *_ glob */