diff options
author | Marc Reisner <reisner.marc@gmail.com> | 2021-04-06 11:12:55 -0500 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2021-04-15 00:12:27 +0100 |
commit | d913c42369e987ebd04cf163fde5d1c26ad59e5f (patch) | |
tree | a6866425b2581e7b78c485498c31f08fc114d188 | |
parent | 5f65868c2ca80b3ca5d0cebbbaf7241caa69c65f (diff) | |
download | perl-d913c42369e987ebd04cf163fde5d1c26ad59e5f.tar.gz |
Add documentation for new GV_NOUNIVERSAL flag
-rw-r--r-- | gv.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -707,11 +707,15 @@ side-effect creates a glob with the given C<name> in the given C<stash> which in the case of success contains an alias for the subroutine, and sets up caching info for this glob. -The only significant values for C<flags> are C<GV_SUPER> and C<SVf_UTF8>. +The only significant values for C<flags> are C<GV_SUPER>, C<GV_NOUNIVERSAL>, and +C<SVf_UTF8>. C<GV_SUPER> indicates that we want to look up the method in the superclasses of the C<stash>. +C<GV_NOUNIVERSAL> indicates that we do not want to look up the method in +the stash accessible by C<UNIVERSAL::>. + The GV returned from C<gv_fetchmeth> may be a method cache entry, which is not visible to Perl code. So when calling C<call_sv>, you should not use |