This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct lock’s prototype
authorFather Chrysostomos <sprout@cpan.org>
Thu, 21 Jul 2011 07:07:05 +0000 (00:07 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 21 Jul 2011 07:07:05 +0000 (00:07 -0700)
As of commit f4df43b5, lock is parsed the same way as tied.  Before
that, the prototype was effectively \[$@%&*], but only because
it was buggy (an lvalue sub itself would be passed to the function,
instead of its return value).  Yet its prototype was set to \$, which
was just wrong.

This fixes part of #94980.


No differences found