This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
attributes.pm: warn & don’t apply :lvalue to defined subs
authorFather Chrysostomos <sprout@cpan.org>
Wed, 22 Jun 2011 06:02:25 +0000 (23:02 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 22 Jun 2011 15:21:14 +0000 (08:21 -0700)
commitbb3abb059a118f508179df292a0a6e562767107f
tree4f392856cc80bca46ff02d854b34ae6376ddd33f
parenteddd77ceed2006321182714bd36a37ee8620dbde
attributes.pm: warn & don’t apply :lvalue to defined subs

This is something that ‘sub foo :lvalue;’ declarations do.  This brings
attributes.pm in line with them.

See commits fff96ff and 885ef6f, ticket #68758, and
<364E1F98-FDCC-49A7-BADB-BD844626B8AE@cpan.org>.
ext/attributes/attributes.pm
ext/attributes/attributes.xs
pod/perldelta.pod
pod/perldiag.pod
t/op/attrs.t