diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-08-17 22:25:39 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-18 06:50:57 -0700 |
commit | d47dcd9c7681849ea996f4a5039342a169f1969a (patch) | |
tree | ca1e9c3026f5fb6ffc67d9abe801cd3d11c4d91d /lib | |
parent | 93f0bc4935f6ab558dbbd7c94b5d4a9bdd07eb9e (diff) | |
download | perl-d47dcd9c7681849ea996f4a5039342a169f1969a.tar.gz |
Document &CORE::nullary() calls
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CORE.pod | 8 |
1 files changed, 5 insertions, 3 deletions
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<shove> example above. This works for all overridable keywords, except -for C<dump> and the infix operators. +C<shove> example above. These subroutines exist for all overridable +keywords, except for C<dump> and the infix operators. Calling with +ampersand syntax and through references currently works only for functions +that take no arguments, like C<fork>. =head1 OVERRIDING CORE FUNCTIONS |