From d47dcd9c7681849ea996f4a5039342a169f1969a Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Wed, 17 Aug 2011 22:25:39 -0700 Subject: Document &CORE::nullary() calls --- lib/CORE.pod | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/CORE.pod b/lib/CORE.pod index 10fa424702..d83763cb1f 100644 --- a/lib/CORE.pod +++ b/lib/CORE.pod @@ -32,10 +32,12 @@ CORE package, but is part of Perl's syntax. For many Perl functions, the CORE package contains real subroutines. This feature is new in Perl 5.16. You can take references to these and make -aliases. However, they can only be called as barewords; i.e., you cannot +aliases. However, most can only be called as barewords; i.e., you cannot use ampersand syntax (C<&foo>) or call them through references. See the -C example above. This works for all overridable keywords, except -for C and the infix operators. +C example above. These subroutines exist for all overridable +keywords, except for C and the infix operators. Calling with +ampersand syntax and through references currently works only for functions +that take no arguments, like C. =head1 OVERRIDING CORE FUNCTIONS -- cgit v1.2.1