diff options
author | Michael Stevens <mstevens@etla.org> | 2001-03-15 21:25:18 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-16 02:56:04 +0000 |
commit | bbc7dcd2bd43efd6773e46b614c6eb1db5af78d2 (patch) | |
tree | cf0748288cb60b19776c0b7e0af0c8892cf713f5 /lib/Tie | |
parent | cea6626fc5e04af2c1d079dd4d3784eb2c21174b (diff) | |
download | perl-bbc7dcd2bd43efd6773e46b614c6eb1db5af78d2.tar.gz |
more pod patches
Message-ID: <20010315212518.A18870@firedrake.org>
p4raw-id: //depot/perl@9176
Diffstat (limited to 'lib/Tie')
-rw-r--r-- | lib/Tie/Array.pm | 2 | ||||
-rw-r--r-- | lib/Tie/Handle.pm | 2 | ||||
-rw-r--r-- | lib/Tie/Hash.pm | 20 | ||||
-rw-r--r-- | lib/Tie/Scalar.pm | 2 |
4 files changed, 13 insertions, 13 deletions
diff --git a/lib/Tie/Array.pm b/lib/Tie/Array.pm index f4c6193596..5b8423e943 100644 --- a/lib/Tie/Array.pm +++ b/lib/Tie/Array.pm @@ -179,7 +179,7 @@ For developers wishing to write their own tied arrays, the required methods are briefly defined below. See the L<perltie> section for more detailed descriptive, as well as example code: -=over +=over 4 =item TIEARRAY classname, LIST diff --git a/lib/Tie/Handle.pm b/lib/Tie/Handle.pm index 81b0792249..638cdf7861 100644 --- a/lib/Tie/Handle.pm +++ b/lib/Tie/Handle.pm @@ -33,7 +33,7 @@ For developers wishing to write their own tied-handle classes, the methods are summarized below. The L<perltie> section not only documents these, but has sample code as well: -=over +=over 4 =item TIEHANDLE classname, LIST diff --git a/lib/Tie/Hash.pm b/lib/Tie/Hash.pm index 7399d8b853..3231155c81 100644 --- a/lib/Tie/Hash.pm +++ b/lib/Tie/Hash.pm @@ -10,24 +10,24 @@ Tie::Hash, Tie::StdHash - base class definitions for tied hashes package NewHash; require Tie::Hash; - + @ISA = (Tie::Hash); - + sub DELETE { ... } # Provides needed method sub CLEAR { ... } # Overrides inherited method - - + + package NewStdHash; require Tie::Hash; - + @ISA = (Tie::StdHash); - + # All methods provided by default, define only those needing overrides sub DELETE { ... } - - + + package main; - + tie %new_hash, 'NewHash'; tie %new_std_hash, 'NewStdHash'; @@ -46,7 +46,7 @@ For developers wishing to write their own tied hashes, the required methods are briefly defined below. See the L<perltie> section for more detailed descriptive, as well as example code: -=over +=over 4 =item TIEHASH classname, LIST diff --git a/lib/Tie/Scalar.pm b/lib/Tie/Scalar.pm index 39480c8a28..bcaad0b11e 100644 --- a/lib/Tie/Scalar.pm +++ b/lib/Tie/Scalar.pm @@ -47,7 +47,7 @@ For developers wishing to write their own tied-scalar classes, the methods are summarized below. The L<perltie> section not only documents these, but has sample code as well: -=over +=over 4 =item TIESCALAR classname, LIST |