This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update proto docs after prev commit
authorFather Chrysostomos <sprout@cpan.org>
Fri, 24 Jun 2011 06:22:29 +0000 (23:22 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 24 Jun 2011 15:19:27 +0000 (08:19 -0700)
pod/perlsub.pod

index 01c525d..4cc0b9c 100644 (file)
@@ -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.