From: Gurusamy Sarathy Date: Sat, 19 Feb 2000 17:18:09 +0000 (+0000) Subject: document 'lvalue' attribute (from Simon Cozens ) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=89752b9c32c52b9549c3e229050ad433f6278ee5;p=p5sagit%2Fp5-mst-13.2.git document 'lvalue' attribute (from Simon Cozens ) p4raw-id: //depot/perl@5148 --- diff --git a/lib/attributes.pm b/lib/attributes.pm index bbbb8b7..f111645 100644 --- a/lib/attributes.pm +++ b/lib/attributes.pm @@ -169,6 +169,12 @@ This has a meaning when taken together with the B 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. + =back There are no built-in attributes for anything other than subroutines.