summaryrefslogtreecommitdiff
path: root/lib/Tie/SubstrHash.pm
Commit message (Collapse)AuthorAgeFilesLines
* PATCH: Tie::SubstrHashHugo van der Sanden2001-10-041-1/+1
| | | | | Message-Id: <200110041112.f94BCfS17390@crypt.compulink.co.uk> p4raw-id: //depot/perl@12336
* Re: [ID 20010309.004] my-variables lose values while goto'ing within a ↵John P. Linderman2001-03-131-5/+13
| | | | | | | | | for(;;)-loop Message-Id: <200103131736.MAA35615@raptor.research.att.com> A more correct prime finder. p4raw-id: //depot/perl@9132
* Still buggy findgteprime, fix from Eric Joanis <joanis@cs.toronto.edu>.Jarkko Hietaniemi2000-12-151-6/+8
| | | p4raw-id: //depot/perl@8128
* $VERSION crusade, strict, tests, etc... all over lib/Michael G. Schwern2000-12-061-0/+2
| | | | | | | Message-ID: <20001205212328.C6473@blackrider.aocn.com> Carp::Heavy parts not very applicable because of recent changes. p4raw-id: //depot/perl@8013
* Fix the problem discussed inJarkko Hietaniemi2000-11-021-12/+35
| | | | | | | | | | | | | | | | | | Subject: [ID 20001015.004] Fwd: Tie::SubstrHash -- bug & fix (all Perl versions) Date: Mon, 16 Oct 2000 04:48:59 +0300 (EET DST) Message-Id: <200010160148.EAA14523@alpha.hut.fi> originally from Linc Madison. Also Andreas König's comments taken into account. Some other problems with Tie::SubstrHash fixed: didn't croak when the table exceeded the requested number of entries (as documented) but instead when the number of entries exceeded the size of the table, a croak() had an unnecessary \n, didn't have a CLEAR method, documented that there is no exists(). Didn't fix to be strict-proof because the module uses &foo; and dynamic scope. Added a test script exercizing both first tamely the basic functionality, and then the failure cases reported by Linc Madison. p4raw-id: //depot/perl@7530
* Tie::SubstrHash patchBlair Zajac1998-12-281-1/+1
| | | | | | To: perl5-porters@perl.org Message-ID: <3681953C.8B6A90AA@geostaff.com> p4raw-id: //depot/cfgperl@2502
* Allow for really big keys in Tie::SubstrHashUnknown Contributor1997-01-291-2/+6
| | | | private-msgid: <199701282014.VAA12645@selters.uio.no>
* Quote string argument in example -- necessary if using strict subsPerl 5 Porters1996-07-151-1/+1
|
* Documentation patch: Tie::Hash, Tie::Scalar, Tie::SubstrHashRandy J Ray1996-02-061-1/+37
| | | | | | | | | | | | | | | | | | | | | [This finishes a job started by Randy Ray with perl5.002b1f.] This patch updates the files lib/TieHash.pm and lib/SubstrHash.pm. Those two files are moved to a new directory called lib/Tie. A new tie-related class for scalars, lib/Tie/Scalar.pm, is added. Each of these has pod documentation that passes through pod2man without complaint. All package names are updated to reflect this structure, and the "standard" sub-classes for hashes and scalars are named Tie::StdHash and Tie::StdScalar, in keeping with the group consensus. With this, the documentation for Tie::Hash should be fine, Tie::Scalar exists and is documented, and Tie::SubstrHash (formerly just SubstrHash) is also documented, albeit weakly. I have no examples of usage to show, and I suspect a possible bug or two, but without examples it's hard to say. As it happens, this patch also impacts the DBM-style extensions, as they (DB_File, NDBM_File, GBM_File, ODBM_File, SDBM_File) all inherited from the old TieHash.pm as a base class.
* perl 5.002gamma: [patch introduction and re-organisations]Andy Dougherty1996-02-031-0/+140
[ re-organisations: # Give this module a sensible home. mv pod/PerlDoc/Functions.pm lib/Pod/Functions.pm rmdir pod/PerlDoc # Tie:: finally has its own hierarchy mkdir lib/Tie mv lib/TieHash.pm lib/Tie/Hash.pm mv lib/SubstrHash.pm lib/Tie/SubstrHash.pm rm -f lib/FileHandle.pm # Duplicate of ext/FileHandle/FileHandle.pm rm -f os2/diff.MANIFEST # Obsolete (I applied a variant of it.) rm -f os2/diff.init # Obsolete. ] This is patch.2gamma to perl5.002 beta3. This takes you from 5.002beta3 to 5.002gamma. To apply this patch, run the above commands, then cd to your perl source directory and then type patch -p1 -N < patch.2gamma The changes are described after each /^Index/ line below. This is designed so you can examine each change with a command such as csplit -k patch.2gamma '/^Index:/' '{99}' (Of course since there are 116 items and most csplit's have an arbitrary limit of 100 files, you'll probably have to manually split this file first, but you get the idea. (GNU csplit doesn't have this limitation. Nor does a perl solution, of course.)) Patch and enjoy, Andy Dougherty doughera@lafcol.lafayette.edu Dept. of Physics Lafayette College, Easton PA 18042