| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Message-Id: <200110041112.f94BCfS17390@crypt.compulink.co.uk>
p4raw-id: //depot/perl@12336
|
|
|
|
|
|
|
|
|
| |
for(;;)-loop
Message-Id: <200103131736.MAA35615@raptor.research.att.com>
A more correct prime finder.
p4raw-id: //depot/perl@9132
|
|
|
| |
p4raw-id: //depot/perl@8128
|
|
|
|
|
|
|
| |
Message-ID: <20001205212328.C6473@blackrider.aocn.com>
Carp::Heavy parts not very applicable because of recent changes.
p4raw-id: //depot/perl@8013
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
To: perl5-porters@perl.org
Message-ID: <3681953C.8B6A90AA@geostaff.com>
p4raw-id: //depot/cfgperl@2502
|
|
|
|
| |
private-msgid: <199701282014.VAA12645@selters.uio.no>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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.
|
|
[ 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
|