diff options
author | david nicol <whatever@davidnicol.com> | 2003-10-26 16:34:04 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-11-02 12:37:54 +0000 |
commit | a177e38d770b4b5d49ef8808413f901616f208a9 (patch) | |
tree | e81bdf8d4ff5864e734c379bb120073762398151 | |
parent | 6d02d21f81e80e8ba33c15f661a88ec25abbf596 (diff) | |
download | perl-a177e38d770b4b5d49ef8808413f901616f208a9.tar.gz |
DOCPATCH: does STORE need to return anything and if so what?
Message-Id: <1067229244.1071.51.camel@plaza.davidnicol.com>
p4raw-id: //depot/perl@21616
-rw-r--r-- | pod/perltie.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perltie.pod b/pod/perltie.pod index 4befdaeee6..b81a51b464 100644 --- a/pod/perltie.pod +++ b/pod/perltie.pod @@ -129,7 +129,9 @@ probably the right thing to do. This method will be triggered every time the tied variable is set (assigned). Beyond its self reference, it also expects one (and only one) -argument--the new value the user is trying to assign. +argument--the new value the user is trying to assign. Don't worry about +returning a value from STORE -- the semantic of assignment returning the +assigned value is implemented with FETCH. sub STORE { my $self = shift; @@ -154,7 +156,6 @@ argument--the new value the user is trying to assign. unless (defined setpriority(PRIO_PROCESS, $$self, $new_nicety)) { confess "setpriority failed: $!"; } - return $new_nicety; } =item UNTIE this |