diff options
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r-- | pod/perlsub.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 01c525d069..4cc0b9c5e7 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -1077,8 +1077,8 @@ corresponding built-in. Any backslashed prototype character represents an actual argument that must start with that character (optionally preceded by C<my>, -C<our> or C<local>), with the exception of C<$>, which will accept a -hash or array element even without a dollar sign, such as +C<our> or C<local>), with the exception of C<$>, which will +accept any scalar lvalue expression, such as C<$foo = 7> or C<< my_function()->[0] >>. The value passed as part of C<@_> will be a reference to the actual argument given in the subroutine call, obtained by applying C<\> to that argument. |