From 89752b9c32c52b9549c3e229050ad433f6278ee5 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sat, 19 Feb 2000 17:18:09 +0000 Subject: [PATCH] document 'lvalue' attribute (from Simon Cozens ) p4raw-id: //depot/perl@5148 --- lib/attributes.pm | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- 2.7.4