diff options
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r-- | pod/perlsub.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 95fbb6b342..6f9bb7fcd5 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -825,7 +825,8 @@ if you call it like a builtin function, then it behaves like a builtin function. If you call it like an old-fashioned subroutine, then it behaves like an old-fashioned subroutine. It naturally falls out from this rule that prototypes have no influence on subroutine references -like C<\&foo> or on indirect subroutine calls like C<&{$subref}>. +like C<\&foo> or on indirect subroutine calls like C<&{$subref}> or +C<$subref-E<gt>()>. Method calls are not influenced by prototypes either, because the function to be called is indeterminate at compile time, because it depends |