summaryrefslogtreecommitdiff
path: root/pod/perlsub.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-05-31 20:07:32 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-05-31 20:07:37 -0700
commit6b8305409e650748b2e6fb75634200370b69238b (patch)
tree5a012bc4052034670ba3c61f28aadc5afc26c590 /pod/perlsub.pod
parentc72c0c0bdd3dbc2b529b28a4f324a1cc149a6453 (diff)
downloadperl-6b8305409e650748b2e6fb75634200370b69238b.tar.gz
Remove a line added by the prev commit
Lvalue subs *can* return lists
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r--pod/perlsub.pod2
1 files changed, 0 insertions, 2 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 54f782cc61..2553d147bb 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -765,8 +765,6 @@ all the subroutines are called in a list context.
Lvalue subroutines are convenient, but there are some things to keep
in mind.
-You can only return scalar lvalues.
-
When used with objects, they violate encapsulation. A normal mutator
can check the supplied argument before setting the attribute it is
protecting, an lvalue subroutine cannot.