diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-05-31 20:07:32 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-05-31 20:07:37 -0700 |
commit | 6b8305409e650748b2e6fb75634200370b69238b (patch) | |
tree | 5a012bc4052034670ba3c61f28aadc5afc26c590 /pod/perlsub.pod | |
parent | c72c0c0bdd3dbc2b529b28a4f324a1cc149a6453 (diff) | |
download | perl-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.pod | 2 |
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. |