diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2021-12-18 22:52:06 +0000 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-12-18 16:46:11 -0700 |
commit | 74e2d029ffe6767bafb9161b29a2d5298061c34a (patch) | |
tree | 403e99d76a19b50924eca2a04a548d7e62a608a3 | |
parent | f1a13907b704fd1d898c8c26db3ec4c41cd95b95 (diff) | |
download | perl-74e2d029ffe6767bafb9161b29a2d5298061c34a.tar.gz |
Mention builtin in perldelta
-rw-r--r-- | pod/perldelta.pod | 21 |
1 files changed, 21 insertions, 0 deletions
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</Performance Enhancements> section. [ List each enhancement as a =head2 entry ] +=head2 builtin Functions + +A new core module L<builtin> 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<experimental>. + +For more information, see the L<builtin> module. + =head1 Security XXX Any security-related notices go here. In particular, any security |