summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-08-27 09:27:28 -0600
committerKarl Williamson <khw@cpan.org>2020-10-06 20:08:36 -0600
commit0e75c27b6dda5cb23493542f6c3c1518c3f1b701 (patch)
treeee063f45fa119cfa940eede47f5aa62edc2e9493 /op.c
parent6d12145e43e291dc7f42e253fc9c04febcc21723 (diff)
downloadperl-0e75c27b6dda5cb23493542f6c3c1518c3f1b701.tar.gz
Document newSUB, newATTRSUB
Diffstat (limited to 'op.c')
-rw-r--r--op.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/op.c b/op.c
index ec21a6cf40..c30c6b7c8f 100644
--- a/op.c
+++ b/op.c
@@ -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
*/