projects
/
gitmo/Class-MOP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
document the return value of add_attribute
[gitmo/Class-MOP.git]
/
lib
/
Class
/
MOP
/
Class.pm
diff --git
a/lib/Class/MOP/Class.pm
b/lib/Class/MOP/Class.pm
index
122ed9a
..
0b8efcc
100644
(file)
--- a/
lib/Class/MOP/Class.pm
+++ b/
lib/Class/MOP/Class.pm
@@
-1793,6
+1793,8
@@
class when the attribute is added.
If an attribute of the same name already exists, the old attribute
will be removed first.
+The added attribute will be returned.
+
=item B<< $metaclass->remove_attribute($attribute_name) >>
This will remove the named attribute from the class, and