diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 2001-12-31 14:15:39 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-14 14:09:10 +0000 |
commit | d5582e24af5719e406cca653747e01382d44c590 (patch) | |
tree | 2340f9c3ae3575916f58f4da01f396a06eec515f /pod/perltie.pod | |
parent | 4fa3f26e6876c535c3a708430a266c39711fbf38 (diff) | |
download | perl-d5582e24af5719e406cca653747e01382d44c590.tar.gz |
tied hashes
Message-ID: <20011231191539.A46@math.ohio-state.edu>
p4raw-id: //depot/perl@14684
Diffstat (limited to 'pod/perltie.pod')
-rw-r--r-- | pod/perltie.pod | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pod/perltie.pod b/pod/perltie.pod index f959367d28..adc557d71c 100644 --- a/pod/perltie.pod +++ b/pod/perltie.pod @@ -161,7 +161,7 @@ argument--the new value the user is trying to assign. This method will be triggered when the C<untie> occurs. This can be useful if the class needs to know when no further calls will be made. (Except DESTROY -of course.) See below for more details. +of course.) See L<The C<untie> Gotcha> below for more details. =item DESTROY this @@ -452,7 +452,7 @@ In our example, we'll use a little shortcut if there is a I<LIST>: =item UNTIE this -Will be called when C<untie> happens. (See below.) +Will be called when C<untie> happens. (See L<The C<untie> Gotcha> below.) =item DESTROY this @@ -475,7 +475,7 @@ the keys. UNTIE is called when C<untie> happens, and DESTROY is called when the tied variable is garbage collected. If this seems like a lot, then feel free to inherit from merely the -standard Tie::Hash module for most of your methods, redefining only the +standard Tie::StdHash module for most of your methods, redefining only the interesting ones. See L<Tie::Hash> for details. Remember that Perl distinguishes between a key not existing in the hash, @@ -756,7 +756,7 @@ thing, but we'll have to go through the LIST field indirectly. =item UNTIE this -This is called when C<untie> occurs. +This is called when C<untie> occurs. See L<The C<untie> Gotcha> below. =item DESTROY this @@ -880,7 +880,8 @@ function. =item UNTIE this As with the other types of ties, this method will be called when C<untie> happens. -It may be appropriate to "auto CLOSE" when this occurs. +It may be appropriate to "auto CLOSE" when this occurs. See +L<The C<untie> Gotcha> below. =item DESTROY this @@ -903,7 +904,7 @@ Here's how to use our little example: =head2 UNTIE this You can define for all tie types an UNTIE method that will be called -at untie(). +at untie(). See L<The C<untie> Gotcha> below. =head2 The C<untie> Gotcha |