From 74e2d029ffe6767bafb9161b29a2d5298061c34a Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Sat, 18 Dec 2021 22:52:06 +0000 Subject: Mention builtin in perldelta --- pod/perldelta.pod | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index bde13eee7c..9752709daa 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -27,6 +27,27 @@ here, but most should go in the L section. [ List each enhancement as a =head2 entry ] +=head2 builtin Functions + +A new core module L has been added, which provides documentation for +new always-present functions that are built into the interpreter. + + say "Reference type of arrays is ", builtin::reftype([]); + +It also provides a lexical import mechanism for providing short name versions +of these functions. + + use builtin 'reftype'; + say "Reference type of arrays is ", reftype([]); + +An initial set of functions exists to provide convenient access to stable +boolean values, weakening references, and inspecting properties of references. + +This builtin function mechanism and the functions it provides are all +currently B. + +For more information, see the L module. + =head1 Security XXX Any security-related notices go here. In particular, any security -- cgit v1.2.1