diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 17:18:09 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 17:18:09 +0000 |
commit | 89752b9c32c52b9549c3e229050ad433f6278ee5 (patch) | |
tree | e80480217b577be472af4e360a2990a7b384b224 | |
parent | 93014de6975a5818b25c37acbc52a655889dc308 (diff) | |
download | perl-89752b9c32c52b9549c3e229050ad433f6278ee5.tar.gz |
document 'lvalue' attribute (from Simon Cozens <simon@brecon.co.uk>)
p4raw-id: //depot/perl@5148
-rw-r--r-- | lib/attributes.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/attributes.pm b/lib/attributes.pm index bbbb8b78ee..f111645ae1 100644 --- a/lib/attributes.pm +++ b/lib/attributes.pm @@ -169,6 +169,12 @@ This has a meaning when taken together with the B<locked> attribute, as described there. It also means that a subroutine so marked will not trigger the "Ambiguous call resolved as CORE::%s" warning. +=item lvalue + +Indicates that the referenced subroutine is a valid lvalue and can +be assigned to. The subroutine must return a modifiable value such +as a scalar variable, as described in L<perlsub>. + =back There are no built-in attributes for anything other than subroutines. |