This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document DEFSV DEFSV_set SAVE_DEFSV
authorKarl Williamson <khw@cpan.org>
Wed, 22 Jul 2020 22:52:30 +0000 (16:52 -0600)
committerℕicolas ℝ <nicolas@atoomic.org>
Tue, 25 Aug 2020 14:51:29 +0000 (08:51 -0600)
perl.h

diff --git a/perl.h b/perl.h
index 4d53dd6..52f69e4 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -1584,6 +1584,19 @@ any magic.
 # define SAVE_DEFSV SAVESPTR(GvSV(PL_defgv))
 #endif
 
+/*
+=for apidoc Amn|SV *|DEFSV
+Returns the SV associated with C<$_>
+
+=for apidoc Am|void|DEFSV_set|SV * sv
+Associate C<sv> with C<$_>
+
+=for apidoc Amn|void|SAVE_DEFSV
+Localize C<$_>.  See L<perlguts/Localizing changes>.
+
+=cut
+*/
+
 #ifndef errno
        extern int errno;     /* ANSI allows errno to be an lvalue expr.
                               * For example in multithreaded environments