diff options
author | Karl Williamson <khw@cpan.org> | 2020-08-27 09:27:28 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-10-06 20:08:36 -0600 |
commit | 0e75c27b6dda5cb23493542f6c3c1518c3f1b701 (patch) | |
tree | ee063f45fa119cfa940eede47f5aa62edc2e9493 /op.c | |
parent | 6d12145e43e291dc7f42e253fc9c04febcc21723 (diff) | |
download | perl-0e75c27b6dda5cb23493542f6c3c1518c3f1b701.tar.gz |
Document newSUB, newATTRSUB
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -11191,6 +11191,17 @@ time this function returns, making it erroneous for the caller to make any use of the returned pointer. It is the caller's responsibility to ensure that it knows which of these situations applies. +=for apidoc newATTRSUB +Construct a Perl subroutine, also performing some surrounding jobs. + +This is the same as L<perlintern/C<newATTRSUB_x>> with its C<o_is_gv> parameter set to +FALSE. This means that if C<o> is null, the new sub will be anonymous; otherwise +the name will be derived from C<o> in the way described (as with all other +details) in L<perlintern/C<newATTRSUB_x>>. + +=for apidoc newSUB +Like C<L</newATTRSUB>>, but without attributes. + =cut */ |